RFE: By default Search results need to match ALL keywords
This commit is contained in:
parent
b2340842a0
commit
049eb6f8ff
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue