View | Details | Raw Unified | Return to bug 10034
Collapse All | Expand All

(-)a/catalogue/search.pl (-1 / +5 lines)
Lines 404-409 if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) { Link Here
404
    $idx =~ s/\,/comma/g;  # template toolkit doesnt like variables with a , in it
404
    $idx =~ s/\,/comma/g;  # template toolkit doesnt like variables with a , in it
405
    $template->param($idx => 1);
405
    $template->param($idx => 1);
406
}
406
}
407
if (!$indexes[0])  {
408
    $indexes[0] = "kw";
409
    my $idx = "ms_".$indexes[0];
410
    $template->param($idx => 1);
411
}
407
412
408
# an operand can be a single term, a phrase, or a complete ccl query
413
# an operand can be a single term, a phrase, or a complete ccl query
409
my @operands = map uri_unescape($_), $cgi->param('q');
414
my @operands = map uri_unescape($_), $cgi->param('q');
410
- 

Return to bug 10034