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 1264-1275 Link Here
1264
            <xsl:choose>
1264
            <xsl:choose>
1265
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1265
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1266
                    <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>
1266
                    <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>
1267
                        <xsl:value-of select="translate($f780, '()', '')"/>
1267
                        <xsl:value-of select="$f780"/>
1268
                    </a>
1268
                    </a>
1269
                </xsl:when>
1269
                </xsl:when>
1270
                <xsl:otherwise>
1270
                <xsl:otherwise>
1271
                    <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>
1271
                    <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>
1272
                        <xsl:value-of select="translate($f780, '()', '')"/>
1272
                        <xsl:value-of select="$f780"/>
1273
                    </a>
1273
                    </a>
1274
                </xsl:otherwise>
1274
                </xsl:otherwise>
1275
            </xsl:choose>
1275
            </xsl:choose>
Lines 1326-1337 Link Here
1326
            <xsl:choose>
1326
            <xsl:choose>
1327
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1327
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1328
                    <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>
1328
                    <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>
1329
                        <xsl:value-of select="translate($f785, '()', '')"/>
1329
                        <xsl:value-of select="$f785"/>
1330
                    </a>
1330
                    </a>
1331
                </xsl:when>
1331
                </xsl:when>
1332
                <xsl:otherwise>
1332
                <xsl:otherwise>
1333
                    <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>
1333
                    <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>
1334
                        <xsl:value-of select="translate($f785, '()', '')"/>
1334
                        <xsl:value-of select="$f785"/>
1335
                    </a>
1335
                    </a>
1336
                </xsl:otherwise>
1336
                </xsl:otherwise>
1337
            </xsl:choose>
1337
            </xsl:choose>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-5 / +4 lines)
Lines 1375-1386 Link Here
1375
            <xsl:choose>
1375
            <xsl:choose>
1376
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1376
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1377
                    <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>
1377
                    <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>
1378
                        <xsl:value-of select="translate($f780, '()', '')"/>
1378
                        <xsl:value-of select="$f780"/>
1379
                    </a>
1379
                    </a>
1380
                </xsl:when>
1380
                </xsl:when>
1381
                <xsl:otherwise>
1381
                <xsl:otherwise>
1382
                    <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>
1382
                    <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>
1383
                        <xsl:value-of select="translate($f780, '()', '')"/>
1383
                        <xsl:value-of select="$f780"/>
1384
                    </a>
1384
                    </a>
1385
                </xsl:otherwise>
1385
                </xsl:otherwise>
1386
            </xsl:choose>
1386
            </xsl:choose>
Lines 1438-1449 Link Here
1438
            <xsl:choose>
1438
            <xsl:choose>
1439
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1439
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
1440
                    <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>
1440
                    <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>
1441
                        <xsl:value-of select="translate($f785, '()', '')"/>
1441
                        <xsl:value-of select="$f785"/>
1442
                    </a>
1442
                    </a>
1443
                </xsl:when>
1443
                </xsl:when>
1444
                <xsl:otherwise>
1444
                <xsl:otherwise>
1445
                    <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>
1445
                    <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>
1446
                        <xsl:value-of select="translate($f785, '()', '')"/>
1446
                        <xsl:value-of select="$f785"/>
1447
                    </a>
1447
                    </a>
1448
                </xsl:otherwise>
1448
                </xsl:otherwise>
1449
            </xsl:choose>
1449
            </xsl:choose>
1450
- 

Return to bug 17853