From a9925ecaea67e87977945e6316c2fafdfdaa0e62 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sat, 12 Dec 2009 22:06:45 +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 files changed, 3 insertions(+), 1 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index bec44d2..e3f9258 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1092,7 +1092,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 -- 1.6.3.3