From a55b6ca9d8e093c3d935bdb3b02b0b8bb2a6acd2 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 8 Oct 2009 16:03:37 +0200 Subject: [PATCH] [follow up](bug #3584) improve ccl detection Adding = as an index sign Followup to 3037ff9e81149615f94d3c4ff0e5b4c5240f3ce9 --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 74539f6e1d..c233931753 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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; } } -- 2.39.5