projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ddde71
)
modify advanced search query structure :
author
btoumi
<btoumi>
Thu, 29 Mar 2007 09:28:07 +0000
(09:28 +0000)
committer
btoumi
<btoumi>
Thu, 29 Mar 2007 09:28:07 +0000
(09:28 +0000)
use 'or' instead of 'and' (you have no result if you use 'and')
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
d3fbfca
..
7d93c55
100755
(executable)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-725,8
+725,8
@@
sub buildQuery {
# these are treated as AND
elsif ($limit_query) {
- $limit_query .= "
and
$limit" if $limit;
- $limit_search_desc .= "
and
$limit" if $limit;
+ $limit_query .= "
or
$limit" if $limit;
+ $limit_search_desc .= "
or
$limit" if $limit;
}
# otherwise, there is nothing but the limit