|
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:text>Host-item:(</xsl:text> |
| 220 |
<xsl:call-template name="quote_search_term"> |
| 221 |
<xsl:with-param name="term"><xsl:value-of select="marc:datafield[@tag=245]/marc:subfield[@code='a']"/></xsl:with-param> |
| 222 |
</xsl:call-template> |
| 223 |
<xsl:text>)</xsl:text> |
| 224 |
</xsl:variable> |
| 225 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="str:encode-uri($title_query, true())"/></xsl:attribute> |
| 219 |
</xsl:otherwise> |
226 |
</xsl:otherwise> |
| 220 |
</xsl:choose> |
227 |
</xsl:choose> |
| 221 |
<xsl:text>Show analytics</xsl:text> |
228 |
<xsl:text>Show analytics</xsl:text> |
|
Lines 1083-1090
Link Here
|
| 1083 |
</a> |
1090 |
</a> |
| 1084 |
</xsl:when> |
1091 |
</xsl:when> |
| 1085 |
<xsl:otherwise> |
1092 |
<xsl:otherwise> |
|
|
1093 |
<xsl:variable name="host_query"> |
| 1094 |
<xsl:text>ti,phr:(</xsl:text> |
| 1095 |
<xsl:call-template name="quote_search_term"> |
| 1096 |
<xsl:with-param name="term"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:with-param> |
| 1097 |
</xsl:call-template> |
| 1098 |
<xsl:text>)</xsl:text> |
| 1099 |
<xsl:if test="marc:subfield[@code='a']"> |
| 1100 |
<xsl:text> AND au:(</xsl:text> |
| 1101 |
<xsl:call-template name="quote_search_term"> |
| 1102 |
<xsl:with-param name="term"> |
| 1103 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
| 1104 |
</xsl:with-param> |
| 1105 |
</xsl:call-template> |
| 1106 |
<xsl:text>)</xsl:text> |
| 1107 |
</xsl:if> |
| 1108 |
</xsl:variable> |
| 1086 |
<a> |
1109 |
<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> |
1110 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="str:encode-uri($host_query, true())" /> |
|
|
1111 |
</xsl:attribute> |
| 1088 |
<xsl:value-of select="$f773"/> |
1112 |
<xsl:value-of select="$f773"/> |
| 1089 |
</a> |
1113 |
</a> |
| 1090 |
</xsl:otherwise> |
1114 |
</xsl:otherwise> |