Summary: | Search does not work with CCSR theme and language = nb-NO | ||
---|---|---|---|
Product: | Koha | Reporter: | Magnus Enger <magnus> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Paul Poulain <paul.poulain> |
Severity: | normal | ||
Priority: | P5 - low | CC: | chris, paul.poulain |
Version: | 3.8 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 8947: XSLT fallback logic backwards
Bug 8947: [SIGNED-OFF] XSLT fallback logic backwards |
Description
Magnus Enger
2012-10-19 12:12:38 UTC
Created attachment 12937 [details] [review] Bug 8947: XSLT fallback logic backwards The logic for the XSLT fallback was backwards, which meant that non-English installations of the CCSR theme were unable to use XSLT stylesheets. This patch corrects the logic. To test: 1) Switch to the ccsr OPAC theme. 2) Switch to a language other than English for the OPAC. 3) Turn on the default XSLT stylesheets for the OPAC. 4) Do a search or view a record that would result in something being displayed with XSLT. This will work after the patch, but not before. Created attachment 12938 [details] [review] Bug 8947: [SIGNED-OFF] XSLT fallback logic backwards The logic for the XSLT fallback was backwards, which meant that non-English installations of the CCSR theme were unable to use XSLT stylesheets. This patch corrects the logic. To test: 1) Switch to the ccsr OPAC theme. 2) Switch to a language other than English for the OPAC. 3) Turn on the default XSLT stylesheets for the OPAC. 4) Do a search or view a record that would result in something being displayed with XSLT. This will work after the patch, but not before. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Works as advertised! QA comment: * tiny patch (just 3 ! differences !) * fixes a bug nothing to add, passed QA Patch pushed to master. It's probably usefull for 3.8, even if the symptom is visible only with CCSR theme and 3.10 Released in 3.10.0 |