From 0c254c1f1f3d8883c2fb0ff5ef4c714b13cd9145 Mon Sep 17 00:00:00 2001 From: Mason James Date: Fri, 14 Dec 2007 12:39:31 +1300 Subject: [PATCH] quickfix for adv. searching in nozebra. Signed-off-by: Joshua Ferraro --- C4/Search.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Search.pm b/C4/Search.pm index 125c7a4b82..ce7d4eeb9e 100644 --- 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$'; -- 2.39.2