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>
This commit is contained in:
Fridolyn SOMERS 2013-07-05 16:35:45 +02:00 committed by Galen Charlton
parent 7efc10542b
commit 10e1cbeb14
2 changed files with 3 additions and 2 deletions

View file

@ -999,7 +999,8 @@ mc-loc location
acqsource 1=8015
coded-location-qualifier 1=8016
price 1=8017
stocknumber 1=1062
Number-local-acquisition 1=1062
stocknumber Number-local-acquisition
inv stocknumber
stack 1=8018
issues 1=8019

View file

@ -309,7 +309,7 @@ melm 952$e acqsource
melm 952$f coded-location-qualifier
melm 952$g price
#melm 952$h
melm 952$i stocknumber
melm 952$i Number-local-acquisition
melm 952$j stack:n,stack:w
#melm 952$k
melm 952$l issues:n,issues:w,issues:s