From 5f44dc5dbce2b508dbb137f653e21d461150a260 Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 24 Jul 2013 12:37:00 +0200 Subject: [PATCH 2/3] Bug 10544 - add Number-local-acquisition in known indexes Adding Number-local-acquisition in C4::Search known indexes allows to search without using "ccl=" prefix. Also corrects in ccl.properties : inv must be an alias of Number-local-acquisition. --- C4/Search.pm | 1 + etc/zebradb/ccl.properties | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index aec024b..cd47219 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1085,6 +1085,7 @@ sub getIndexes{ 'mc-itype', 'mc-loc', 'notforloan', + 'Number-local-acquisition', 'onloan', 'price', 'renewals', diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index e4bfba8..cee0979 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -993,7 +993,7 @@ coded-location-qualifier 1=8016 price 1=8017 Number-local-acquisition 1=1062 stocknumber Number-local-acquisition -inv stocknumber +inv Number-local-acquisition stack 1=8018 issues 1=8019 renewals 1=8020 -- 1.7.10.4