Bug 1807, can now search with : in the box if you want to use ccl do ccl: title=fish
authorChris Cormack <chris@bigballofwax.co.nz>
Sat, 12 Dec 2009 09:09:13 +0000 (22:09 +1300)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Sun, 20 Dec 2009 13:31:35 +0000 (14:31 +0100)
C4/Search.pm

index 5019777..3af884a 100644 (file)
@@ -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