[Koha-bugs] [Bug 24352] OpacItemLocation is buggy

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 10 15:21:56 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24352

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 97225
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97225&action=edit
Bug 24352: OpacItemLocation is buggy

This patch modifies the OPAC's MARC21 search results XSLT so that the
OpacItemLocation preference correctly controls what information
displays. Previously the code for distinguishing between the 'location'
and 'collection' settings was combined.

To test, apply the patch and set the OPACXSLTResultsDisplay system
preference to 'default.'

Set the OpacItemLocation preference to 'call number only.'
 - On the OPAC search results page, each result with items should show
   information in this format:
   - "Availability: Items available for loan: {library} [Call number:
     {call number} ]

  With the OpacItemLocation preference set to 'collection code,'
   - "Availability: Items available for loan: {library}
      Collection(s): {collection description} [{ call number }]"

  With the OpacItemLocation preference set to 'location,'
   - "Availability: Items available for loan: {library}
      Location(s): {shelving location} [{ call number }]"

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


More information about the Koha-bugs mailing list