Bug 9684 : Correct path to compact.xsl
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 26 Apr 2013 16:11:37 +0000 (17:11 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 27 Apr 2013 11:08:20 +0000 (07:08 -0400)
commitc48be8b905efa9ba4e472dbcbcea6ee15a92e075
treeabdcccdb6f33fba4ed46413cd16de62f06e9cb59
parent00895bab836e2698223c1e081868ef0932542d50
Bug 9684 : Correct path to compact.xsl

When try to display card view of retrieved record
error occurred as compact.xsl could not be found
script was constructing path as though it was opac

Also added fallback to en version if no xsl file
found under current lang as done in opac-showmarc.pl

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Test plan:

* Set sys pref to use CCSR
* Do a Z39.50 Search
* Click 'card' on one of the results
* confirm that there is no error.

All test pass

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
I am astonished that opacthemes affects Z39.50 search in
staff so this might be fixing a bigger problem.

Checked that clicking on Card works for both themes now
correctly after I confirmed the bug.
Also all views in OPAC were checked for both themes.

All tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 5b6f89714d58d4a7c33b621b2cefbc02523dafa3)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
catalogue/showmarc.pl