[Koha-bugs] [Bug 33277] Correctly handle linking subfields with no defined thesaurus
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 9 14:58:20 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33277
--- Comment #56 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
> ! grep /$thesaurus/,('lcsh','lcac','mesh','nal','notspecified','cash','rvm','sears','aat')
This regex might not always do what you want.
Probably we could better do something like: none { $_ eq $thesaurus } etc
etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
<xslo:when>
<xsl:attribute name="test"><xsl:value-of
select="$alt_select"/></xsl:attribute>
<xslo:value-of>
<xsl:attribute name="select"><xsl:value-of
select="$alt_select"/></xsl:attribute>
</xslo:value-of>
</xslo:when>
<xslo:otherwise><xslo:text>notdefined</xslo:text></xslo:otherwise>
This could be done much simpler. Funny construction here. Out of scope.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list