[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:28:18 CEST 2014


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

--- Comment #52 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #51)
> 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...)

To clarify point #2, if you have $OPACItemLocation set to something other than
'callnum', your "reference" items will still show 'callnum'. If you just have
"reference" items, you will get your callnumber in the availability section and
the location section.

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


More information about the Koha-bugs mailing list