Refactor how repositories for the daemon work.
This commit is contained in:
parent
5f9fe4a69b
commit
d2afc29a80
58 changed files with 388 additions and 997 deletions
|
@ -30,7 +30,7 @@ class UserRepository extends EloquentRepository implements UserRepositoryInterfa
|
|||
public function getAllUsersWithCounts(): LengthAwarePaginator
|
||||
{
|
||||
return $this->getBuilder()->withCount('servers', 'subuserOf')
|
||||
->setSearchTerm($this->getSearchTerm())
|
||||
->search($this->getSearchTerm())
|
||||
->paginate(50, $this->getColumns());
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue