Bug 10544: (follow-up) update MARC21 DOM index definitions

This patch updates the MARC21 DOM index definitions to
index the 952$i as 'Number-local-acquisition' rather than
'stocknumber'.

To test (for a MARC21/DOM setup):

[1] Copy the MARC21 biblio-zebra-indexdefs.xsl over to the
    active Zebra configuration directory.
[2] Reindex the bib records.
[3] Verify that 'stocknumber', 'inv', and 'number-local-acquisition'
    searches work.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2014-02-19 20:35:08 +00:00
parent f62e45dc92
commit aaff735269
2 changed files with 3 additions and 3 deletions

View file

@ -1191,9 +1191,9 @@
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="952" subfields="g">
<target_index>price:w</target_index>
</index_subfields>
<!--record.abs line 303: melm 952$i stocknumber-->
<!--record.abs line 303: melm 952$i Number-local-acquisition-->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="952" subfields="i">
<target_index>stocknumber:w</target_index>
<target_index>Number-local-acquisition:w</target_index>
</index_subfields>
<!--record.abs line 304: melm 952$j stack:n,stack:w-->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="952" subfields="j">

View file

@ -1218,7 +1218,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('i', @code)">
<z:index name="stocknumber:w">
<z:index name="Number-local-acquisition:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>