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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-4 / +4 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="marc:subfield[@code='a']"/>
1231
                        <xsl:value-of select="$f780"/>
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="marc:subfield[@code='a']"/>
1236
                        <xsl:value-of select="$f780"/>
1237
                    </a>
1237
                    </a>
1238
                </xsl:otherwise>
1238
                </xsl:otherwise>
1239
            </xsl:choose>
1239
            </xsl:choose>
Lines 1290-1301 Link Here
1290
            <xsl:choose>
1290
            <xsl:choose>
1291
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1291
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1292
                    <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>
1292
                    <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>
1293
                        <xsl:value-of select="translate($f785, '()', '')"/>
1293
                        <xsl:value-of select="$f785"/>
1294
                    </a>
1294
                    </a>
1295
                </xsl:when>
1295
                </xsl:when>
1296
                <xsl:otherwise>
1296
                <xsl:otherwise>
1297
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute>
1297
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute>
1298
                        <xsl:value-of select="translate($f785, '()', '')"/>
1298
                        <xsl:value-of select="$f785"/>
1299
                    </a>
1299
                    </a>
1300
                </xsl:otherwise>
1300
                </xsl:otherwise>
1301
            </xsl:choose>
1301
            </xsl:choose>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-5 / +4 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="marc:subfield[@code='a']"/>
1343
                        <xsl:value-of select="$f780"/>
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="marc:subfield[@code='a']"/>
1348
                        <xsl:value-of select="$f780"/>
1349
                    </a>
1349
                    </a>
1350
                </xsl:otherwise>
1350
                </xsl:otherwise>
1351
            </xsl:choose>
1351
            </xsl:choose>
Lines 1403-1414 Link Here
1403
            <xsl:choose>
1403
            <xsl:choose>
1404
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1404
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1405
                    <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>
1405
                    <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>
1406
                        <xsl:value-of select="translate($f785, '()', '')"/>
1406
                        <xsl:value-of select="$f785"/>
1407
                    </a>
1407
                    </a>
1408
                </xsl:when>
1408
                </xsl:when>
1409
                <xsl:otherwise>
1409
                <xsl:otherwise>
1410
                    <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute>
1410
                    <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute>
1411
                        <xsl:value-of select="translate($f785, '()', '')"/>
1411
                        <xsl:value-of select="$f785"/>
1412
                    </a>
1412
                    </a>
1413
                </xsl:otherwise>
1413
                </xsl:otherwise>
1414
            </xsl:choose>
1414
            </xsl:choose>
1415
- 

Return to bug 17853