mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
simplify player search
This commit is contained in:
parent
979a1722ae
commit
3c44aaa9d3
1 changed files with 1 additions and 2 deletions
|
|
@ -29,8 +29,7 @@ class DemoListProvider extends BaseProvider {
|
|||
|
||||
$query = $this->getQueryBuilder();
|
||||
$query->select('p.demo_id')
|
||||
->from('players', 'p')
|
||||
->innerJoin('p', 'demos', 'd', $query->expr()->eq('demo_id', 'd.id'));
|
||||
->from('players', 'p');
|
||||
|
||||
if (count($userIds) > 1) {
|
||||
$query->where($query->expr()->in('user_id',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue