mirror of https://github.com/BOINC/boinc.git
Merge pull request #5421 from BOINC/dpa_team_search
web: fix bug in team search
This commit is contained in:
commit
63ef8c4c58
|
@ -155,11 +155,12 @@ function search($params) {
|
|||
|
||||
$name_lc = escape_pattern($name_lc);
|
||||
$list2 = get_teams("name like '".$name_lc."%'", $params->active);
|
||||
//echo "<br>name like matches: ",sizeof($list2);
|
||||
merge_lists($list2, $list, 5);
|
||||
|
||||
$list2 = get_teams("match(name) against ('$kw')", $params->active);
|
||||
merge_lists($list2, $list, 5);
|
||||
$list2 = get_teams("match(name, description) against ('$kw')", $params->active);
|
||||
$list2 = get_teams(
|
||||
"match(name, description) against ('$kw')", $params->active
|
||||
);
|
||||
//echo "<br>keyword matches: ",sizeof($list2);
|
||||
merge_lists($list2, $list, 3);
|
||||
$tried = true;
|
||||
|
|
Loading…
Reference in New Issue