Lines 525-533
Link Here
|
525 |
</span> |
525 |
</span> |
526 |
</xsl:if> |
526 |
</xsl:if> |
527 |
|
527 |
|
528 |
<xsl:if test="marc:datafield[substring(@tag, 1, 1) = '6']"> |
528 |
<xsl:if test="marc:datafield[substring(@tag, 1, 1) = '6' and not(@tag=655)]"> |
529 |
<span class="results_summary subjects"><span class="label">Subject(s): </span> |
529 |
<span class="results_summary subjects"><span class="label">Subject(s): </span> |
530 |
<xsl:for-each select="marc:datafield[substring(@tag, 1, 1) = '6']"> |
530 |
<xsl:for-each select="marc:datafield[substring(@tag, 1, 1) = '6'][not(@tag=655)]"> |
531 |
<a> |
531 |
<a> |
532 |
<xsl:choose> |
532 |
<xsl:choose> |
533 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
533 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
Lines 569-577
Link Here
|
569 |
<xsl:if test="marc:datafield[@tag=655]"> |
569 |
<xsl:if test="marc:datafield[@tag=655]"> |
570 |
<span class="results_summary genre"><span class="label">Genre/Form: </span> |
570 |
<span class="results_summary genre"><span class="label">Genre/Form: </span> |
571 |
<xsl:for-each select="marc:datafield[@tag=655]"> |
571 |
<xsl:for-each select="marc:datafield[@tag=655]"> |
|
|
572 |
<a> |
573 |
<xsl:choose> |
574 |
<xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'"> |
575 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
576 |
</xsl:when> |
577 |
<xsl:when test="$TraceSubjectSubdivisions='1'"> |
578 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:call-template name="subfieldSelect"> |
579 |
<xsl:with-param name="codes">avxyz</xsl:with-param> |
580 |
<xsl:with-param name="delimeter"> AND </xsl:with-param> |
581 |
<xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param> |
582 |
<xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param> |
583 |
</xsl:call-template> |
584 |
</xsl:attribute> |
585 |
</xsl:when> |
586 |
<xsl:otherwise> |
587 |
<xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="marc:subfield[@code='a']"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute> |
588 |
</xsl:otherwise> |
589 |
</xsl:choose> |
572 |
<xsl:call-template name="subfieldSelect"> |
590 |
<xsl:call-template name="subfieldSelect"> |
573 |
<xsl:with-param name="codes">avxyz</xsl:with-param> |
591 |
<xsl:with-param name="codes">avxyz</xsl:with-param> |
|
|
592 |
<xsl:with-param name="subdivCodes">vxyz</xsl:with-param> |
593 |
<xsl:with-param name="subdivDelimiter">-- </xsl:with-param> |
574 |
</xsl:call-template> |
594 |
</xsl:call-template> |
|
|
595 |
</a> |
575 |
<xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if> |
596 |
<xsl:if test="position()!=last()"><span class="separator"> | </span></xsl:if> |
576 |
</xsl:for-each> |
597 |
</xsl:for-each> |
577 |
</span> |
598 |
</span> |