Bug 2958 - notforloan (8008) is a numeric field.
authorJoe Atzberger <joe.atzberger@liblime.com>
Thu, 19 Mar 2009 19:06:26 +0000 (14:06 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:03 +0000 (21:15 +0200)
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".

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
etc/zebradb/ccl.properties

index cd03e2a..817595a 100644 (file)
@@ -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