In DOM config file :
etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml, the 608$9 is
defined a second time instead of 610$9. Just a type I think.
Test plan :
- Apply patch
- Install a UNIMARC + DOM instance
- Define in a framework 610 using a thesaurus
- Create a new biblio
- Create a new authority (same type as the thesaurus defined above)
- Index : rebuild_zebra.pl -a -b -x -z
- Link the field 610 to the new authority
- Index : rebuild_zebra.pl -a -b -x -z
- In authorities search, search for the new authority
=> You see Use in 1 Records(s)
Signed-off-by: Frederic Demians <f.demians@tamil.fr>
I confirm the typo.
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
<target_index>Subject:p</target_index>
</index_data_field>
<!--610 - Free-->
- <index_subfields tag="608" subfields="9">
+ <index_subfields tag="610" subfields="9">
<target_index>Koha-Auth-Number:w</target_index>
<target_index>Koha-Auth-Number:n</target_index>
</index_subfields>
</z:index>
</xslo:if>
</xslo:for-each>
+ </xslo:template>
+ <xslo:template mode="index_subfields" match="marc:datafield[@tag='610']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">