[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
Wed Mar 22 00:38:38 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33277
--- Comment #12 from Janusz Kaczmarek <januszop at gmail.com> ---
I can confirm -- it does not work with Zebra for the case of 008/11 = 'z' and
no 040 $f. The second attempt is made, but without modification of zebra auth
index definition there will be 'notdefined' in the index instead of 'z'
(authority-zebra-indexdefs.xsl):
<xslo:when test="$thesaurus_code1 = 'z'">
<xslo:choose>
<xslo:when
test="//marc:datafield[@tag='040']/marc:subfield[@code='f']">
<xslo:value-of
select="//marc:datafield[@tag='040']/marc:subfield[@code='f']"/>
</xslo:when>
<xslo:otherwise>
<xslo:text>notdefined</xslo:text>
</xslo:otherwise>
</xslo:choose>
</xslo:when>
With ES it seems OK.
The only doubt that I still have is putting nothing in the query for 6XX 2nd
ind == '4'. As the consequence, if we had more than one auth records with the
same 1XX, we would get more than one from the query, which is bad.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list