Support searching servers in admin area using name; closes #2100
This commit is contained in:
parent
d8c338df3e
commit
88300e5448
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue