projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395d7ae
)
quickfix for adv. searching in nozebra.
author
Mason James
<mason@snaga.liblime.co.nz>
Thu, 13 Dec 2007 23:39:31 +0000
(12:39 +1300)
committer
Joshua Ferraro
<jmf@liblime.com>
Sat, 15 Dec 2007 05:05:36 +0000
(23:05 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
125c7a4
..
ce7d4ee
100644
(file)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-1314,6
+1314,8
@@
sub NZanalyse {
$right = $3;
}
my $results;
+ # strip adv, zebra keywords, currently not handled in nozebra: wrdl, ext, phr...
+ $left =~ s/[ ,].*$//;
# automatic replace for short operators
$left='title' if $left =~ '^ti$';
$left='author' if $left =~ '^au$';