Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Marcel de Rooy 950ec5555c Bug 21260: Remove item details from reallynotforloan block
No need to display itemcallnumbers and branch info for items that
are ('really') not available.
We only show a status and a count for the reallynotforloan ('ordered')
categories (not per branch). This simplifies the code too.
We use the preceding-sibling axis to loop over the unique substatuses.

Test plan:
[1] Pick a biblio with an available item A, an item B with notforloan 1,
    an item C with notforloan 2 and two damaged items.
    Include it in a OPAC search. You should see:
        Available: A. Reference: B, C. Not-available: Damaged(2).
[2] Edit item C (notforloan 2). Change to notforloan -1.
    Search again. You should see:
        Available: A. Reference: B. Not-available: On order(1), Damaged(2).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: ava li <rubyli208@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-01 17:58:49 +02:00
..
compact.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21Languages.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
MARC21slim2OPACDetail.xsl Bug 27581: Rename USeICU preference to UseICUStyleQuotes 2021-02-08 14:56:00 +01:00
MARC21slim2OPACResults.xsl Bug 21260: Remove item details from reallynotforloan block 2021-04-01 17:58:49 +02:00
MARC21slimUtils.xsl Bug 27633: (bug 15436 follow-up) Fix duplicate of 440$v at the OPAC 2021-02-08 14:56:00 +01:00
NORMARCslim2OPACDetail.xsl Bug 27581: Rename USeICU preference to UseICUStyleQuotes 2021-02-08 14:56:00 +01:00
NORMARCslim2OPACResults.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
NORMARCslimUtils.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
plainMARC.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARCslim2OPACDetail.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARCslim2OPACResults.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
UNIMARCslimUtils.xsl Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00