diff --git a/deploy/lib/control/ListController.php b/deploy/lib/control/ListController.php index 56e3c4dd4..a5cd542b5 100644 --- a/deploy/lib/control/ListController.php +++ b/deploy/lib/control/ListController.php @@ -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; }