mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 20:03:45 +02:00
Support searching servers in admin area using name; closes #2100
This commit is contained in:
@@ -85,7 +85,7 @@ class UserController extends Controller
|
||||
public function index(Request $request)
|
||||
{
|
||||
$users = QueryBuilder::for(User::query()->withCount('servers'))
|
||||
->allowedIncludes(['username', 'email', 'uuid'])
|
||||
->allowedFilters(['username', 'email', 'uuid'])
|
||||
->allowedSorts(['id', 'uuid'])
|
||||
->paginate(50);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user