mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-24 15:24:44 +02:00
Fix issue with listing users due to removed 'subuserOf' method
This commit is contained in:
parent
b395440e4e
commit
c9c98b87a6
@ -29,7 +29,7 @@ class UserRepository extends EloquentRepository implements UserRepositoryInterfa
|
|||||||
*/
|
*/
|
||||||
public function getAllUsersWithCounts(): LengthAwarePaginator
|
public function getAllUsersWithCounts(): LengthAwarePaginator
|
||||||
{
|
{
|
||||||
return $this->getBuilder()->withCount('servers', 'subuserOf')
|
return $this->getBuilder()->withCount('servers')
|
||||||
->search($this->getSearchTerm())
|
->search($this->getSearchTerm())
|
||||||
->paginate(50, $this->getColumns());
|
->paginate(50, $this->getColumns());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user