Lines 239-244
Link Here
|
239 |
</xsl:call-template> |
239 |
</xsl:call-template> |
240 |
</a> |
240 |
</a> |
241 |
</xsl:when> |
241 |
</xsl:when> |
|
|
242 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
243 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> |
244 |
<xsl:call-template name="chopPunctuation"> |
245 |
<xsl:with-param name="chopString"> |
246 |
<xsl:call-template name="subfieldSelect"> |
247 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
248 |
</xsl:call-template> |
249 |
</xsl:with-param> |
250 |
</xsl:call-template> |
251 |
</a> |
252 |
</xsl:when> |
242 |
<xsl:otherwise> |
253 |
<xsl:otherwise> |
243 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute> |
254 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute> |
244 |
<xsl:call-template name="chopPunctuation"> |
255 |
<xsl:call-template name="chopPunctuation"> |
Lines 270-275
Link Here
|
270 |
</xsl:call-template> |
281 |
</xsl:call-template> |
271 |
</a> |
282 |
</a> |
272 |
</xsl:when> |
283 |
</xsl:when> |
|
|
284 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
285 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> |
286 |
<xsl:call-template name="chopPunctuation"> |
287 |
<xsl:with-param name="chopString"> |
288 |
<xsl:call-template name="subfieldSelect"> |
289 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
290 |
</xsl:call-template> |
291 |
</xsl:with-param> |
292 |
</xsl:call-template> |
293 |
</a> |
294 |
</xsl:when> |
273 |
<xsl:otherwise> |
295 |
<xsl:otherwise> |
274 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
296 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
275 |
<xsl:call-template name="chopPunctuation"> |
297 |
<xsl:call-template name="chopPunctuation"> |