]> git.koha-community.org Git - koha.git/commit
Bug 10544: ensure that stocknumber searches work for MARC21
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Fri, 5 Jul 2013 14:35:45 +0000 (16:35 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 May 2014 15:17:29 +0000 (17:17 +0200)
commitb2b1d1522e5f235f391565911c24e9a6a6699049
tree41e9794c2a3ff52ed7e2ff20930cbd877073f822
parent54152268aea7fdeb0a48b8c1ced00dde61bb9c59
Bug 10544: ensure that stocknumber searches work for MARC21

Bug 6256 replaced in bib1.att stocknumber by Number-local-acquisition
for number 1062.

In this case, Number-local-acquisition must be used in record.abs and
stocknumber can be an alias of it in ccl.properties.

Test plan (for MARC21/GRS1):
- drop zebra database (rebuild_zebra.pl -r ...)
- reindex
- test in simple search : ccl=Number-local-acquisition,alwaysmatches=''
=> you get all records with a stocknumber
- test in simple search : ccl=stocknumber,alwaysmatches=''
=> you get the same results

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 10e1cbeb1421a6351ac0df4d0c76a8ae79d4dd9d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
etc/zebradb/ccl.properties
etc/zebradb/marc_defs/marc21/biblios/record.abs