]> git.koha-community.org Git - koha.git/commit
Bug 6499: Add Zebra index "Other-control-number" covering MARC21 035$a, 035$z and...
authorBarton Chittenden <barton@bywatersolutions.com>
Thu, 10 Jul 2014 13:54:56 +0000 (09:54 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 Aug 2016 10:13:10 +0000 (10:13 +0000)
commit84f51549c94a5f5fdc227e6febb472946ca2b71c
treed388f8f04b2a1bb6109d4b2ab2226eb52cc4a117
parent7f50e9f686a319a4857f595e46c405f8bc85b48e
Bug 6499: Add Zebra index "Other-control-number" covering MARC21 035$a, 035$z and 035 (entire tag)

1) Apply patch
2) Make sure that you have a bib that has MARC21 035$a (and possibly also 035$z) populated.

pre 3) Replace all modified zebra files and restart zebra server

3) Rebuild zebra: misc/migration_tools/rebuild_zebra.pl -x -b -z
4) Add the following to the intranetuserjs syspref:

$(document).ready(function(){
    // Add Other Control Number to advanced search
    if (window.location.href.indexOf("catalogue/search.pl") > -1) {
        $(".advsearch").append('<option value="Other-control-number">Other Control Number</option>');
    }
});

5) Do an advanced search, select "Other Control Number" from the search menu, then add the Other Control Number in 035$a for the bib specified in step 1.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works, no koha-qa errors

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Search.pm
etc/zebradb/biblios/etc/bib1.att
etc/zebradb/ccl.properties
etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
etc/zebradb/marc_defs/marc21/biblios/record.abs