projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
111bdfd
)
Bug 1807, can now search with : in the box if you want to use ccl do ccl: title=fish
author
Chris Cormack
<chris@bigballofwax.co.nz>
Sat, 12 Dec 2009 09:09:13 +0000
(22:09 +1300)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Sun, 20 Dec 2009 13:31:35 +0000
(14:31 +0100)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
5019777
..
3af884a
100644
(file)
--- 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