|
Lines 314-320
Link Here
|
| 314 |
<a> |
314 |
<a> |
| 315 |
<xsl:choose> |
315 |
<xsl:choose> |
| 316 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
316 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 317 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:value-of select="marc:subfield[@code='w']"/></xsl:attribute> |
317 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
| 318 |
</xsl:when> |
318 |
</xsl:when> |
| 319 |
<xsl:otherwise> |
319 |
<xsl:otherwise> |
| 320 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Title:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute> |
320 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Title:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute> |
|
Lines 735-741
Link Here
|
| 735 |
<a> |
735 |
<a> |
| 736 |
<xsl:choose> |
736 |
<xsl:choose> |
| 737 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
737 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 738 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:value-of select="marc:subfield[@code='w']"/></xsl:attribute> |
738 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
| 739 |
</xsl:when> |
739 |
</xsl:when> |
| 740 |
<xsl:otherwise> |
740 |
<xsl:otherwise> |
| 741 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Title:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute> |
741 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Title:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute> |
|
Lines 791-797
Link Here
|
| 791 |
</xsl:variable> |
791 |
</xsl:variable> |
| 792 |
<xsl:choose> |
792 |
<xsl:choose> |
| 793 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
793 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 794 |
<a href="/cgi-bin/koha/opac-search.pl?q=Control-number:{marc:subfield[@code='w']}"> |
794 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
| 795 |
<xsl:value-of select="translate($f780, '()', '')"/> |
795 |
<xsl:value-of select="translate($f780, '()', '')"/> |
| 796 |
</a> |
796 |
</a> |
| 797 |
</xsl:when> |
797 |
</xsl:when> |
|
Lines 854-860
Link Here
|
| 854 |
|
854 |
|
| 855 |
<xsl:choose> |
855 |
<xsl:choose> |
| 856 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
856 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 857 |
<a href="/cgi-bin/koha/opac-search.pl?q=Control-number:{marc:subfield[@code='w']}"> |
857 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
| 858 |
<xsl:value-of select="translate($f785, '()', '')"/> |
858 |
<xsl:value-of select="translate($f785, '()', '')"/> |
| 859 |
</a> |
859 |
</a> |
| 860 |
</xsl:when> |
860 |
</xsl:when> |
| 861 |
- |
|
|