View | Details | Raw Unified | Return to bug 5001
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl (-3 / +2 lines)
Lines 958-964 Link Here
958
                           select="key('item-by-status', 'available')"/>
958
                           select="key('item-by-status', 'available')"/>
959
                       <xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
959
                       <xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
960
                           <xsl:value-of select="items:homebranch"/>
960
                           <xsl:value-of select="items:homebranch"/>
961
						   <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber">[<xsl:value-of select="items:itemcallnumber"/>]</xsl:if>
961
						   <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if>
962
                           <xsl:text> (</xsl:text>
962
                           <xsl:text> (</xsl:text>
963
                           <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/>
963
                           <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/>
964
                           <xsl:text>)</xsl:text>
964
                           <xsl:text>)</xsl:text>
Lines 976-982 Link Here
976
                           select="key('item-by-status', 'reference')"/>
976
                           select="key('item-by-status', 'reference')"/>
977
                       <xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
977
                       <xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
978
                           <xsl:value-of select="items:homebranch"/>
978
                           <xsl:value-of select="items:homebranch"/>
979
						   <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber">[<xsl:value-of select="items:itemcallnumber"/>]</xsl:if>
979
						   <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if>
980
                           <xsl:text> (</xsl:text>
980
                           <xsl:text> (</xsl:text>
981
                           <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/>
981
                           <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/>
982
                           <xsl:text>)</xsl:text>
982
                           <xsl:text>)</xsl:text>
983
- 

Return to bug 5001