Bugzilla – Attachment 19417 Details for
Bug 10544
stocknumber index is an alias of Number-local-acquisition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-10544-stocknumber-index-is-an-alias-of-Number-lo.patch (text/plain), 1.82 KB, created by
Fridolin Somers
on 2013-07-05 14:40:54 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-07-05 14:40:54 UTC
Size:
1.82 KB
patch
obsolete
>From 39ac6f1c04964a5e92548e2ab104e1feca00819f Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >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 >--- > 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 a5de010..e4bfba8 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -991,7 +991,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 5ff08f4..f4d2a48 100644 >--- a/etc/zebradb/marc_defs/marc21/biblios/record.abs >+++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs >@@ -308,7 +308,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.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10544
:
19417
|
19443
|
19924
|
19925
|
22344
|
22345
|
22346
|
22347
|
22353
|
22354
|
22355
|
24737
|
24738
|
24739
|
25276
|
25277
|
25278