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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-1 / +10 lines)
Lines 369-375 Link Here
369
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
369
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
370
            </xsl:when>
370
            </xsl:when>
371
            <xsl:otherwise>
371
            <xsl:otherwise>
372
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
372
373
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su:<xsl:call-template name="chopPunctuation">
374
                <xsl:with-param name="chopString">
375
                <xsl:call-template name="subfieldSelect">
376
                    <xsl:with-param name="codes">abcdvxyz</xsl:with-param>
377
                </xsl:call-template>
378
            </xsl:with-param>
379
                    </xsl:call-template>
380
381
                </xsl:attribute>
373
            </xsl:otherwise>
382
            </xsl:otherwise>
374
            </xsl:choose>
383
            </xsl:choose>
375
            <xsl:call-template name="chopPunctuation">
384
            <xsl:call-template name="chopPunctuation">
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-2 / +10 lines)
Lines 389-395 Link Here
389
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
389
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
390
            </xsl:when>
390
            </xsl:when>
391
            <xsl:otherwise>
391
            <xsl:otherwise>
392
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
392
393
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:call-template name="chopPunctuation">
394
		        <xsl:with-param name="chopString">
395
			    <xsl:call-template name="subfieldSelect">
396
			        <xsl:with-param name="codes">abcdvxyz</xsl:with-param>
397
			    </xsl:call-template>
398
			</xsl:with-param>
399
                    </xsl:call-template>
400
401
                </xsl:attribute>
393
            </xsl:otherwise>
402
            </xsl:otherwise>
394
            </xsl:choose>
403
            </xsl:choose>
395
            <xsl:call-template name="chopPunctuation">
404
            <xsl:call-template name="chopPunctuation">
396
- 

Return to bug 4276