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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +1 lines)
Lines 83-89 OPAC: Link Here
83
                  no: "Don't show"
83
                  no: "Don't show"
84
            - the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.
84
            - the format, audience, and material type icons in XSLT MARC21 results and detail pages in the OPAC.
85
        -
85
        -
86
            - On search result pages displayed with XSLT stylesheets on the OPAC, show the item's
86
            - On the OPAC search results list, show the item's
87
            - pref: OPACResultsBranch
87
            - pref: OPACResultsBranch
88
              choices:
88
              choices:
89
                  holdingbranch: "holding branch"
89
                  holdingbranch: "holding branch"
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl (-8 / +7 lines)
Lines 1065-1077 Link Here
1065
                   <xsl:otherwise>
1065
                   <xsl:otherwise>
1066
                        <xsl:choose>
1066
                        <xsl:choose>
1067
                            <xsl:when test="$OPACResultsBranch='homebranch'">
1067
                            <xsl:when test="$OPACResultsBranch='homebranch'">
1068
                                <xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]">
1068
                               <xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]">
1069
                                    <xsl:value-of select="items:homebranch"/>
1069
                                   <xsl:value-of select="items:homebranch"/>
1070
                                    <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if>
1070
                                   <xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if>
1071
                                    <xsl:text> (</xsl:text>
1071
                                   <xsl:text> (</xsl:text>
1072
                                    <xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/>
1072
                                   <xsl:value-of select="count(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch)))"/>
1073
                                    <xsl:text>)</xsl:text>
1073
                                   <xsl:text>)</xsl:text>
1074
                                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose>
1074
                                   <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose>
1075
                               </xsl:for-each>
1075
                               </xsl:for-each>
1076
                            </xsl:when>
1076
                            </xsl:when>
1077
                            <xsl:when test="$OPACResultsBranch='holdingbranch'">
1077
                            <xsl:when test="$OPACResultsBranch='holdingbranch'">
1078
- 

Return to bug 7441