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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +2 lines)
Lines 1228-1239 Link Here
1228
            <xsl:choose>
1228
            <xsl:choose>
1229
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1229
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1230
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
1230
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
1231
                        <xsl:value-of select="translate($f780, '()', '')"/>
1231
                        <xsl:value-of select="marc:subfield[@code='a']"/>
1232
                    </a>
1232
                    </a>
1233
                </xsl:when>
1233
                </xsl:when>
1234
                <xsl:otherwise>
1234
                <xsl:otherwise>
1235
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute>
1235
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute>
1236
                        <xsl:value-of select="translate($f780, '()', '')"/>
1236
                        <xsl:value-of select="marc:subfield[@code='a']"/>
1237
                    </a>
1237
                    </a>
1238
                </xsl:otherwise>
1238
                </xsl:otherwise>
1239
            </xsl:choose>
1239
            </xsl:choose>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-3 / +2 lines)
Lines 1340-1351 Link Here
1340
            <xsl:choose>
1340
            <xsl:choose>
1341
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1341
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1342
                    <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
1342
                    <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
1343
                        <xsl:value-of select="translate($f780, '()', '')"/>
1343
                        <xsl:value-of select="marc:subfield[@code='a']"/>
1344
                    </a>
1344
                    </a>
1345
                </xsl:when>
1345
                </xsl:when>
1346
                <xsl:otherwise>
1346
                <xsl:otherwise>
1347
                    <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute>
1347
                    <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute>
1348
                        <xsl:value-of select="translate($f780, '()', '')"/>
1348
                        <xsl:value-of select="marc:subfield[@code='a']"/>
1349
                    </a>
1349
                    </a>
1350
                </xsl:otherwise>
1350
                </xsl:otherwise>
1351
            </xsl:choose>
1351
            </xsl:choose>
1352
- 

Return to bug 17853