https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29539
--- Comment #7 from George Veranis <gvera...@dataly.gr> --- For the moment I solve that problem by using the template "tag_subject" from the MARC21slimUtils.xsl and it works fine. and adding also the same codes and subdivCodes from template tag_onesubject that seems to have the problem, but my xslt knowledge is not the best at the moment to solve it or to understand what is wrong, so I decided to use the same template as MARC21. <xsl:template name="tag_subject"> <xsl:param name="tag" /> <xsl:param name="label" /> <xsl:param name="spanclass" /> <xsl:if test="marc:datafield[@tag=$tag]"> <span class="results_summary subjects {$spanclass}"> <span class="label"><xsl:value-of select="$label"/>: </span> <xsl:for-each select="marc:datafield[@tag=$tag]"> <a> <xsl:choose> <xsl:when test="marc:subfield[@code=9]"> <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:otherwise> <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:choose> <xsl:call-template name="chopPunctuation"> <xsl:with-param name="chopString"> <xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">abcdfijkmpnptvxyz</xsl:with-param> <xsl:with-param name="subdivCodes">ijknpxyz</xsl:with-param> <xsl:with-param name="subdivDelimiter">-- </xsl:with-param> </xsl:call-template> </xsl:with-param> </xsl:call-template> </a> <xsl:if test="not (position()=last())"> <xsl:text> | </xsl:text> </xsl:if> </xsl:for-each> </span> </xsl:if> </xsl:template> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/