From 62cbeb2c9a33b43d77c184cafd52f92c7034645f Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Fri, 5 Jul 2013 16:35:45 +0200 Subject: [PATCH] Bug 10544 - stocknumber index is an alias of Number-local-acquisition 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 : - 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 Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- etc/zebradb/ccl.properties | 3 ++- etc/zebradb/marc_defs/marc21/biblios/record.abs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index 1587b73..e86760c 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -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 diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs index b4a79f8..e867cec 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -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 -- 1.7.2.5