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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-12 / +12 lines)
Lines 111-120 Link Here
111
        <a>
111
        <a>
112
        <xsl:choose>
112
        <xsl:choose>
113
            <xsl:when test="marc:subfield[@code=9]">
113
            <xsl:when test="marc:subfield[@code=9]">
114
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
114
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
115
            </xsl:when>
115
            </xsl:when>
116
            <xsl:otherwise>
116
            <xsl:otherwise>
117
            <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
117
            <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
118
            </xsl:otherwise>
118
            </xsl:otherwise>
119
        </xsl:choose>
119
        </xsl:choose>
120
        <xsl:call-template name="nameABCDQ"/></a>
120
        <xsl:call-template name="nameABCDQ"/></a>
Lines 126-135 Link Here
126
        <a>
126
        <a>
127
        <xsl:choose>
127
        <xsl:choose>
128
            <xsl:when test="marc:subfield[@code=9]">
128
            <xsl:when test="marc:subfield[@code=9]">
129
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
129
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
130
            </xsl:when>
130
            </xsl:when>
131
            <xsl:otherwise>
131
            <xsl:otherwise>
132
            <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>      
132
            <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>      
133
            </xsl:otherwise>
133
            </xsl:otherwise>
134
        </xsl:choose>
134
        </xsl:choose>
135
        <xsl:call-template name="nameABCDN"/></a>
135
        <xsl:call-template name="nameABCDN"/></a>
Lines 140-149 Link Here
140
        <a>
140
        <a>
141
        <xsl:choose>
141
        <xsl:choose>
142
            <xsl:when test="marc:subfield[@code=9]">
142
            <xsl:when test="marc:subfield[@code=9]">
143
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
143
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
144
            </xsl:when>
144
            </xsl:when>
145
            <xsl:otherwise>
145
            <xsl:otherwise>
146
            <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
146
            <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
147
            </xsl:otherwise>
147
            </xsl:otherwise>
148
        </xsl:choose>
148
        </xsl:choose>
149
        <xsl:call-template name="nameACDEQ"/></a>
149
        <xsl:call-template name="nameACDEQ"/></a>
Lines 177-183 Link Here
177
        <xsl:if test="marc:datafield[@tag=440 or @tag=490]">
177
        <xsl:if test="marc:datafield[@tag=440 or @tag=490]">
178
        <span class="results_summary"><span class="label">Series: </span>
178
        <span class="results_summary"><span class="label">Series: </span>
179
        <xsl:for-each select="marc:datafield[@tag=440]">
179
        <xsl:for-each select="marc:datafield[@tag=440]">
180
             <a href="/cgi-bin/koha/opac-search.pl?q=se:{marc:subfield[@code='a']}">
180
             <a href="/cgi-bin/koha/catalogue/search.pl?q=se:{marc:subfield[@code='a']}">
181
            <xsl:call-template name="chopPunctuation">
181
            <xsl:call-template name="chopPunctuation">
182
                            <xsl:with-param name="chopString">
182
                            <xsl:with-param name="chopString">
183
                                <xsl:call-template name="subfieldSelect">
183
                                <xsl:call-template name="subfieldSelect">
Lines 191-197 Link Here
191
        </xsl:for-each>
191
        </xsl:for-each>
192
192
193
        <xsl:for-each select="marc:datafield[@tag=490][@ind1=0]">
193
        <xsl:for-each select="marc:datafield[@tag=490][@ind1=0]">
194
             <a href="/cgi-bin/koha/opac-search.pl?q=se:{marc:subfield[@code='a']}">
194
             <a href="/cgi-bin/koha/catalogue/search.pl?q=se:{marc:subfield[@code='a']}">
195
                        <xsl:call-template name="chopPunctuation">
195
                        <xsl:call-template name="chopPunctuation">
196
                            <xsl:with-param name="chopString">
196
                            <xsl:with-param name="chopString">
197
                                <xsl:call-template name="subfieldSelect">
197
                                <xsl:call-template name="subfieldSelect">
Lines 365-374 Link Here
365
            <a>
365
            <a>
366
            <xsl:choose>
366
            <xsl:choose>
367
            <xsl:when test="marc:subfield[@code=9]">
367
            <xsl:when test="marc:subfield[@code=9]">
368
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
368
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
369
            </xsl:when>
369
            </xsl:when>
370
            <xsl:otherwise>
370
            <xsl:otherwise>
371
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
371
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
372
            </xsl:otherwise>
372
            </xsl:otherwise>
373
            </xsl:choose>
373
            </xsl:choose>
374
            <xsl:call-template name="chopPunctuation">
374
            <xsl:call-template name="chopPunctuation">
Lines 510-516 Link Here
510
                        <xsl:with-param name="codes">at</xsl:with-param>
510
                        <xsl:with-param name="codes">at</xsl:with-param>
511
                    </xsl:call-template>
511
                    </xsl:call-template>
512
                </xsl:variable>
512
                </xsl:variable>
513
             <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute>
513
             <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute>
514
                <xsl:value-of select="translate($f780, '()', '')"/>
514
                <xsl:value-of select="translate($f780, '()', '')"/>
515
            </a>
515
            </a>
516
        </span>
516
        </span>
Lines 565-571 Link Here
565
                    </xsl:call-template>
565
                    </xsl:call-template>
566
                </xsl:variable>
566
                </xsl:variable>
567
567
568
                <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute>
568
                <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute>
569
                <xsl:value-of select="translate($f785, '()', '')"/>
569
                <xsl:value-of select="translate($f785, '()', '')"/>
570
            </a>
570
            </a>
571
571
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl (-2 / +1 lines)
Lines 425-431 Link Here
425
                        <xsl:with-param name="codes">at</xsl:with-param>
425
                        <xsl:with-param name="codes">at</xsl:with-param>
426
                    </xsl:call-template>
426
                    </xsl:call-template>
427
                </xsl:variable>
427
                </xsl:variable>
428
             <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute>
428
             <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute>
429
                <xsl:value-of select="translate($f780, '()', '')"/>
429
                <xsl:value-of select="translate($f780, '()', '')"/>
430
            </a>
430
            </a>
431
        </li>
431
        </li>
432
- 

Return to bug 4285