[Koha-patches] [PATCH] Bug 2958 - notforloan (8008) is a numeric field.

Joe Atzberger joe.atzberger at liblime.com
Thu Mar 19 20:06:26 CET 2009


Update index to allow searching for "On Order" items, -1 value.
Example:
http://atz.dev.kohalibrary.com/cgi-bin/koha/opac-search.pl?q=ccl=notforloan:-1

Without this patch, search for "-1" is normalized to "1".
---
 etc/zebradb/ccl.properties |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
index cd03e2a..817595a 100644
--- a/etc/zebradb/ccl.properties
+++ b/etc/zebradb/ccl.properties
@@ -951,7 +951,7 @@ materials-specified 1=8004
 damaged 1=8005
 restricted 1=8006
 cn-sort 1=8007
-notforloan 1=8008
+notforloan 1=8008 4=109
 ccode 1=8009
 mc-ccode ccode
 itemnumber 1=8010
-- 
1.5.6.5




More information about the Koha-patches mailing list