|
Lines 215-221
Link Here
|
| 215 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+AND+(bib-level:a+OR+bib-level:b)</xsl:attribute> |
215 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+AND+(bib-level:a+OR+bib-level:b)</xsl:attribute> |
| 216 |
</xsl:when> |
216 |
</xsl:when> |
| 217 |
<xsl:otherwise> |
217 |
<xsl:otherwise> |
| 218 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:(<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/>)</xsl:attribute> |
218 |
<xsl:variable name="title_query"> |
|
|
219 |
<xsl:call-template name="fix_query_term"> |
| 220 |
<xsl:with-param name="term"><xsl:value-of select="marc:datafield[@tag=245]/marc:subfield[@code='a']"/></xsl:with-param> |
| 221 |
</xsl:call-template> |
| 222 |
</xsl:variable> |
| 223 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:("<xsl:value-of select="$title_query"/>")</xsl:attribute> |
| 219 |
</xsl:otherwise> |
224 |
</xsl:otherwise> |
| 220 |
</xsl:choose> |
225 |
</xsl:choose> |
| 221 |
<xsl:text>Show analytics</xsl:text> |
226 |
<xsl:text>Show analytics</xsl:text> |
|
Lines 1083-1090
Link Here
|
| 1083 |
</a> |
1088 |
</a> |
| 1084 |
</xsl:when> |
1089 |
</xsl:when> |
| 1085 |
<xsl:otherwise> |
1090 |
<xsl:otherwise> |
|
|
1091 |
<xsl:variable name="title_query"> |
| 1092 |
<xsl:call-template name="fix_query_term"> |
| 1093 |
<xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:with-param> |
| 1094 |
</xsl:call-template> |
| 1095 |
</xsl:variable> |
| 1096 |
<xsl:variable name="author_query"> |
| 1097 |
<xsl:if test="marc:subfield[@code='a']"> |
| 1098 |
<xsl:call-template name="fix_query_term"> |
| 1099 |
<xsl:with-param name="term"> |
| 1100 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
| 1101 |
</xsl:with-param> |
| 1102 |
</xsl:call-template> |
| 1103 |
</xsl:if> |
| 1104 |
</xsl:variable> |
| 1086 |
<a> |
1105 |
<a> |
| 1087 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:subfield[@code='t'], '()', ''), true())"/><xsl:if test="marc:subfield[@code='a']">+AND+au:<xsl:value-of select="str:encode-uri(translate(marc:subfield[@code='a'], '()', ''), true())"/></xsl:if></xsl:attribute> |
1106 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:("<xsl:value-of select="$title_query" />")<xsl:if test="$author_query">+AND+au:("<xsl:value-of select="$author_query"/>")</xsl:if> |
|
|
1107 |
</xsl:attribute> |
| 1088 |
<xsl:value-of select="$f773"/> |
1108 |
<xsl:value-of select="$f773"/> |
| 1089 |
</a> |
1109 |
</a> |
| 1090 |
</xsl:otherwise> |
1110 |
</xsl:otherwise> |