[Koha-bugs] [Bug 5079] Make display of shelving location and call number in XSLT results controlled by sysprefs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 9 02:27:06 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5079

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #51 from David Cook <dcook at prosentient.com.au> ---
Just poking around on the XSLTs, and noticed that this system preference
doesn't work as it should.

1) The XSL logic for showing "location" and "ccode" is wrong. Those should be
"xsl:if" tests rather than "xsl:when" tests. Currently, if you have "available"
items and "reference" items, only locations/ccodes for the "available" items
will be shown. The "xsl:choose" will stop at the first successful "xsl:when"
test and then ignores the rest. 

'tis an easy fix.

2) The "reference" code is missing a test for $OPACItemLocation='callnum'". 

(It also doesn't support "singleBranchMode", although "singleBranchMode" on the
XSLTs doesn't necessarily make much sense to me either...since it still
organizes by branch without showing the branch...)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list