From ed5a78aafc4100a7efc6be38f3d366eb522a2116 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 25 Aug 2020 14:44:38 +0000 Subject: [PATCH] Bug 21260: Move the count before the callnumbers The current display is a bit confusing [Call number: A](2) seems to indicate that we have two call numbers A. But what it means here, is: we have two items and we list only one, being A. So, we'd better do something like: Items available for loan: Centerville (2) [Call number: A, ..] Which says we have two items at Centerville, listing only one (A), but indicating with the two dots that there are more. Test plan: Pick a biblio with multiple available items at a branch. Include it in a search and check results display. Test the same but with only one branch in Koha. Signed-off-by: Marcel de Rooy Signed-off-by: ava li Signed-off-by: Martin Renvoize --- .../en/xslt/MARC21slim2OPACResults.xsl | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index a2eb62175f..bab0d4ebba 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -36,7 +36,7 @@ - + @@ -1276,23 +1276,21 @@ select="key('item-by-status', 'available')"/> - + + - Call number: - + Call number: + , .. - ( - - ) . , - + @@ -1300,15 +1298,15 @@ + ( + + ) - Call number: - + Call number: + , .. - ( - - ) . , @@ -1320,15 +1318,15 @@ + ( + + ) - Call number: - + Call number: + , .. - ( - - ) . , @@ -1358,15 +1356,15 @@ + ( + + ) Call number: - + , .. - ( - - ) . , -- 2.20.1