From 9a954f72637958a9b8985a6de31e77386e24c8a7 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Tue, 30 Oct 2007 13:02:47 -0500 Subject: [PATCH] revert kw,wrdl search (part 2) kados should commit something better, this is a quick hack. if I send it mistakenly chris/kados, pls don't validate Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- opac/opac-search.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index c5ce7956b1..e558301dcb 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -370,11 +370,7 @@ my @operators; # indexes are query qualifiers, like 'title', 'author', etc. They # can be simple or complex my @indexes; -if ($params->{'idx'}) { - @indexes = split("\0",$params->{'idx'}); -} else { - $indexes[0] = 'kw,wrdl'; -} +@indexes = split( "\0", $params->{'idx'} ) if $params->{'idx'}; # an operand can be a single term, a phrase, or a complete ccl query my @operands; -- 2.39.5