Bug 14154: 608$9 defined twice in UNIMARC biblio-koha-indexdefs.xml
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> (cherry picked from commitaaf3ff3fec) Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> (cherry picked from commit28940870e2) Signed-off-by: Liz Rea <wizzyrea@gmail.com>
This commit is contained in:
parent
d08be44641
commit
3363aa6228
|
|
@ -1245,7 +1245,7 @@
|
|||
<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>
|
||||
|
|
|
|||
|
|
@ -1747,6 +1747,8 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
|
|||
</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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue