From d51332698b2cce43542a58e53fd916df99329158 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sat, 12 Dec 2009 22:09:13 +1300 Subject: [PATCH] Bug 1807, can now search with : in the box if you want to use ccl do ccl: title=fish --- C4/Search.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 5019777438..3af884a530 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1094,7 +1094,9 @@ sub buildQuery { } # Normalize the query and limit strings - $query =~ s/:/=/g; + # This is flawed , means we can't search anything with : in it + # if user wants to do ccl or cql, start the query with that +# $query =~ s/:/=/g; $limit =~ s/:/=/g; for ( $query, $query_desc, $limit, $limit_desc ) { s/ / /g; # remove extra spaces -- 2.39.5