[Koha-patches] [PATCH 70/92] Bug 1807, can now search with : in the box if you want to use ccl do ccl: title=fish
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Tue Dec 22 01:21:03 CET 2009
From: Chris Cormack <chris at bigballofwax.co.nz>
---
C4/Search.pm | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index f024792..229eeec 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -1098,7 +1098,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
More information about the Koha-patches
mailing list