[Koha-patches] [PATCH] Bug 6317 CCL search is case sensitive
Frédéric Demians
f.demians at tamil.fr
Fri May 6 17:19:43 CEST 2011
On any search page this search:
note=foo
doesn't work. But this one works:
Notes:foo
Solved by this patch.
---
C4/Search.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index ab7cb59..9c9c865 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1075,7 +1075,7 @@ sub buildQuery {
my $cclindexes = getIndexes();
if( $query !~ /\s*ccl=/ ){
for my $index (@$cclindexes){
- if($query =~ /($index)(,?\w)*[:=]/){
+ if($query =~ /($index)(,?\w)*[:=]/i){
$cclq = 1;
}
}
--
1.7.4
More information about the Koha-patches
mailing list