Skip to content

Commit

Permalink
Merge pull request BitLucid#1651 from BitLucid/fix/search
Browse files Browse the repository at this point in the history
Update searching in list
  • Loading branch information
tchalvak authored Jan 24, 2024
2 parents bd4166b + 388bb9d commit 42b93ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/lib/control/ListController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function index(Container $p_dependencies)

if ($searched) {
if (strlen($searched) == 1 || !$list_by_rank) {
$where_clauses[] = " (rankings.uname ilike :searched || '%') ";
$where_clauses[] = " (rankings.uname ilike '%' || :searched || '%') ";
$params[':searched'] = $searched;
}

Expand Down

0 comments on commit 42b93ef

Please sign in to comment.