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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-5 / +4 lines)
Lines 257-263 Link Here
257
            <a>
257
            <a>
258
            <xsl:choose>
258
            <xsl:choose>
259
            <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
259
            <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
260
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:value-of select="marc:subfield[@code='w']"/></xsl:attribute>
260
                <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>
261
            </xsl:when>
261
            </xsl:when>
262
            <xsl:otherwise>
262
            <xsl:otherwise>
263
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Title:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute>
263
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Title:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute>
Lines 594-600 Link Here
594
            <a>
594
            <a>
595
            <xsl:choose>
595
            <xsl:choose>
596
            <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
596
            <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
597
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:value-of select="marc:subfield[@code='w']"/></xsl:attribute>
597
                <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>
598
            </xsl:when>
598
            </xsl:when>
599
            <xsl:otherwise>
599
            <xsl:otherwise>
600
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Title:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute>
600
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Title:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute>
Lines 650-656 Link Here
650
                </xsl:variable>
650
                </xsl:variable>
651
            <xsl:choose>
651
            <xsl:choose>
652
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
652
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
653
                    <a href="/cgi-bin/koha/catalogue/search.pl?q=Control-number:{marc:subfield[@code='w']}">
653
                    <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>
654
                        <xsl:value-of select="translate($f780, '()', '')"/>
654
                        <xsl:value-of select="translate($f780, '()', '')"/>
655
                    </a>
655
                    </a>
656
                </xsl:when>
656
                </xsl:when>
Lines 712-718 Link Here
712
712
713
            <xsl:choose>
713
            <xsl:choose>
714
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
714
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
715
                    <a href="/cgi-bin/koha/catalogue/search.pl?q=Control-number:{marc:subfield[@code='w']}">
715
                    <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>
716
                        <xsl:value-of select="translate($f785, '()', '')"/>
716
                        <xsl:value-of select="translate($f785, '()', '')"/>
717
                    </a>
717
                    </a>
718
                </xsl:when>
718
                </xsl:when>
719
- 

Return to bug 5663