Lines 234-239
Link Here
|
234 |
</xsl:call-template> |
234 |
</xsl:call-template> |
235 |
</a> |
235 |
</a> |
236 |
</xsl:when> |
236 |
</xsl:when> |
|
|
237 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
238 |
<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> |
239 |
<xsl:call-template name="chopPunctuation"> |
240 |
<xsl:with-param name="chopString"> |
241 |
<xsl:call-template name="subfieldSelect"> |
242 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
243 |
</xsl:call-template> |
244 |
</xsl:with-param> |
245 |
</xsl:call-template> |
246 |
</a> |
247 |
</xsl:when> |
237 |
<xsl:otherwise> |
248 |
<xsl:otherwise> |
238 |
<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> |
249 |
<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> |
239 |
<xsl:call-template name="chopPunctuation"> |
250 |
<xsl:call-template name="chopPunctuation"> |
Lines 265-270
Link Here
|
265 |
</xsl:call-template> |
276 |
</xsl:call-template> |
266 |
</a> |
277 |
</a> |
267 |
</xsl:when> |
278 |
</xsl:when> |
|
|
279 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
280 |
<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> |
281 |
<xsl:call-template name="chopPunctuation"> |
282 |
<xsl:with-param name="chopString"> |
283 |
<xsl:call-template name="subfieldSelect"> |
284 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
285 |
</xsl:call-template> |
286 |
</xsl:with-param> |
287 |
</xsl:call-template> |
288 |
</a> |
289 |
</xsl:when> |
268 |
<xsl:otherwise> |
290 |
<xsl:otherwise> |
269 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
291 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
270 |
<xsl:call-template name="chopPunctuation"> |
292 |
<xsl:call-template name="chopPunctuation"> |