Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Owen Leonard 897948cff5 Bug 24352: Correct location and collection labels in OPAC search results
This patch modifies the OPAC's MARC21 search results XSLT so that
OPAC search result information is correctly labeled
based on the OpacItemLocation preference.

Previously, search results showed the label "Location(s)" whether the
setting was "collection code" or "location."

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

On the OPAC search results page, each result with items should show
information in this format:

   With the OpacItemLocation preference set to 'call number only,'
    - "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@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-06-24 14:31:37 +02:00
..
compact.xsl
MARC21Languages.xsl Bug 25082: Make 041 descriptions display, if authorised value list is used 2020-05-11 09:46:02 +01:00
MARC21slim2OPACDetail.xsl Bug 17853: Don't remove () from 780 link text 2020-05-11 10:02:18 +01:00
MARC21slim2OPACResults.xsl Bug 24352: Correct location and collection labels in OPAC search results 2020-06-24 14:31:37 +02:00
MARC21slimUtils.xsl Bug 25082: Don't remove characters from string 2020-05-11 09:46:18 +01:00
NORMARCslim2OPACDetail.xsl
NORMARCslim2OPACResults.xsl
NORMARCslimUtils.xsl
plainMARC.xsl
UNIMARCslim2OPACDetail.xsl Bug 22969: fix biblionumber on 001 in UNIMARC XSLT 2020-03-06 09:56:00 +00:00
UNIMARCslim2OPACResults.xsl Bug 22969: fix biblionumber on 001 in UNIMARC XSLT 2020-03-06 09:56:00 +00:00
UNIMARCslimUtils.xsl Bug 23383: fix IdRef syspref test in XSLT 2020-03-16 10:42:02 +00:00