[follow up](bug #3584) improve ccl detection
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 8 Oct 2009 14:03:37 +0000 (16:03 +0200)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 8 Oct 2009 14:08:19 +0000 (16:08 +0200)
Adding = as an index sign
Followup to 3037ff9e81149615f94d3c4ff0e5b4c5240f3ce9

C4/Search.pm

index 74539f6..c233931 100644 (file)
@@ -1020,7 +1020,7 @@ sub buildQuery {
     my $cclindexes = getIndexes();
     if( $query !~ /\s*ccl=/ ){
         for my $index (@$cclindexes){
-            if($query =~ /($index)(,?\w)*:/){
+            if($query =~ /($index)(,?\w)*[:=]/){
                 $cclq = 1;
             }
         }