From 94617df6a59eaa51cf1a46f4796b127a1b5726b8 Mon Sep 17 00:00:00 2001
From: Fridolyn SOMERS <fridolyn.somers@biblibre.com>
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.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
---
 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 04e4918..d62d142 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1086,6 +1086,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 0f8b102..c915d5b 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -996,7 +996,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.8.3.2