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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 12 00:16:10 CET 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #97225|0                           |1
        is obsolete|                            |

--- Comment #6 from David Nind <david at davidnind.com> ---
Created attachment 97257
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97257&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 }]"

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list