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

(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-3 / +16 lines)
Lines 130-136 Link Here
130
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
130
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
131
            </xsl:when>
131
            </xsl:when>
132
            <xsl:otherwise>
132
            <xsl:otherwise>
133
            <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>      
133
            <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=au&amp;q=<xsl:call-template name="chopPunctuation">
134
	            <xsl:with-param name="chopString">
135
		        <xsl:call-template name="subfieldSelect">
136
			    <xsl:with-param name="codes">ab</xsl:with-param>
137
			</xsl:call-template>
138
                    </xsl:with-param>
139
		</xsl:call-template>
140
	    </xsl:attribute>      
134
            </xsl:otherwise>
141
            </xsl:otherwise>
135
        </xsl:choose>
142
        </xsl:choose>
136
        <xsl:call-template name="nameABCDN"/></a>
143
        <xsl:call-template name="nameABCDN"/></a>
Lines 375-381 Link Here
375
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
382
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
376
            </xsl:when>
383
            </xsl:when>
377
            <xsl:otherwise>
384
            <xsl:otherwise>
378
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
385
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idc=su&amp;q=<xsl:call-template name="chopPunctuation">
386
		        <xsl:with-param name="chopString">
387
			    <xsl:call-template name="subfieldSelect">
388
			        <xsl:with-param name="codes">abcdvxyz</xsl:with-param>
389
			    </xsl:call-template>
390
			</xsl:with-param>
391
                    </xsl:call-template>
392
                </xsl:attribute>
379
            </xsl:otherwise>
393
            </xsl:otherwise>
380
            </xsl:choose>
394
            </xsl:choose>
381
            <xsl:call-template name="chopPunctuation">
395
            <xsl:call-template name="chopPunctuation">
382
- 

Return to bug 4276