@@ -, +, @@ field This patch removes the "kw,wrdl" string that automaticaly appears in the search field when we have no result with a simple search request on the intranet and that we choose to proceed to a Z39.50 search --- catalogue/search.pl | 5 +++++ 1 file changed, 5 insertions(+) --- a/catalogue/search.pl +++ a/catalogue/search.pl @@ -404,6 +404,11 @@ if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) { $idx =~ s/\,/comma/g; # template toolkit doesnt like variables with a , in it $template->param($idx => 1); } +if (!$indexes[0]) { + $indexes[0] = "kw"; + my $idx = "ms_".$indexes[0]; + $template->param($idx => 1); +} # an operand can be a single term, a phrase, or a complete ccl query my @operands = map uri_unescape($_), $cgi->param('q'); --