Bug 28337: Add System-control-number index to Zebra MARC21 files
authorNick Clemens <nick@bywatersolutions.com>
Wed, 12 May 2021 17:49:36 +0000 (17:49 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 15 Oct 2021 09:34:26 +0000 (11:34 +0200)
commit3a30e2d66cd964c3a18c14c8a5b7184d6dbae56b
tree7b51638616236d584f8d89f033a76d76179ae0da
parentecc08bf5995070685b7d88caa86c4a6cfb67a2ad
Bug 28337: Add System-control-number index to Zebra MARC21 files

To test:
1 - Apply patch
2 - Copy zebra files to destination:
    cp /kohadevbox/koha/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml /etc/koha/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml
    cp /kohadevbox/koha/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl /etc/koha/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl
3 - Reindex authorities
4 - Edit an authority and add 035$aExpialodocious
5 - Export the authority
6 - Create a new record matchign rule:
    Matching rule code: OCN
    Description: Other control number
    Match threshhold: 1000
    Record type: Authority record
    Search-index: Other-control-number
    Score: 1000
    Tag: 035
    Subfields: a
7 - Stage the record and use the new matchign rule
8 - Match found!

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
etc/zebradb/authorities/etc/bib1.att
etc/zebradb/ccl.properties
etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml
etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl