|
Lines 637-642
Link Here
|
| 637 |
<xsl:if test="marc:datafield[@tag=775]"> |
637 |
<xsl:if test="marc:datafield[@tag=775]"> |
| 638 |
<span class="results_summary other_editions"><span class="label">Other Editions: </span> |
638 |
<span class="results_summary other_editions"><span class="label">Other Editions: </span> |
| 639 |
<xsl:for-each select="marc:datafield[@tag=775]"> |
639 |
<xsl:for-each select="marc:datafield[@tag=775]"> |
|
|
640 |
<xsl:variable name="f775"> |
| 641 |
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect"> |
| 642 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 643 |
</xsl:call-template></xsl:with-param></xsl:call-template> |
| 644 |
</xsl:variable> |
| 640 |
<xsl:if test="marc:subfield[@code='i']"> |
645 |
<xsl:if test="marc:subfield[@code='i']"> |
| 641 |
<xsl:call-template name="subfieldSelect"> |
646 |
<xsl:call-template name="subfieldSelect"> |
| 642 |
<xsl:with-param name="codes">i</xsl:with-param> |
647 |
<xsl:with-param name="codes">i</xsl:with-param> |
|
Lines 649-659
Link Here
|
| 649 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/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> |
654 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/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> |
| 650 |
</xsl:when> |
655 |
</xsl:when> |
| 651 |
<xsl:otherwise> |
656 |
<xsl:otherwise> |
| 652 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate(marc:subfield[@code='t'], '.', '')"/></xsl:attribute> |
657 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f775, '()', '')"/></xsl:attribute> |
| 653 |
</xsl:otherwise> |
658 |
</xsl:otherwise> |
| 654 |
</xsl:choose> |
659 |
</xsl:choose> |
| 655 |
<xsl:call-template name="subfieldSelect"> |
660 |
<xsl:call-template name="subfieldSelect"> |
| 656 |
<xsl:with-param name="codes">t</xsl:with-param> |
661 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 657 |
</xsl:call-template> |
662 |
</xsl:call-template> |
| 658 |
</a> |
663 |
</a> |
| 659 |
<xsl:choose> |
664 |
<xsl:choose> |