Fixing bug with the way authority ID query was being generated
in XSL stylesheet
This commit is contained in:
parent
6c8b87ded1
commit
e427bf860a
1 changed files with 2 additions and 2 deletions
|
@ -211,12 +211,12 @@
|
||||||
<a>
|
<a>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="marc:subfield[@code=9]">
|
<xsl:when test="marc:subfield[@code=9]">
|
||||||
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
|
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
|
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<xsl:call-template name="chopPunctuation">
|
<xsl:call-template name="chopPunctuation">
|
||||||
<xsl:with-param name="chopString">
|
<xsl:with-param name="chopString">
|
||||||
<xsl:call-template name="subfieldSelect">
|
<xsl:call-template name="subfieldSelect">
|
||||||
|
|
Loading…
Reference in a new issue