RFE: By default Search results need to match ALL keywords

This commit is contained in:
Len Kranendonk 2006-08-11 09:55:20 +00:00
parent b2340842a0
commit 049eb6f8ff

View file

@ -282,6 +282,10 @@ sub search {
}
#-------------- Edited by zxp end
$terms[$i] .= "*";
# By default results need to match ALL keywords / Len Kranendonk 20060811
$terms[$i] = "+" . $terms[$i] if ($terms[$i] !~ m/^[+-]/);
}
$keywords = join(" ", @terms);
}