ui(admin): implement user and node servers tab
This commit is contained in:
parent
bf9dfa87da
commit
11fc88c849
9 changed files with 234 additions and 186 deletions
|
@ -47,7 +47,7 @@ class ServerController extends ApplicationApiController
|
|||
}
|
||||
|
||||
$servers = QueryBuilder::for(Server::query())
|
||||
->allowedFilters(['uuid', 'uuidShort', 'name', 'image', 'external_id'])
|
||||
->allowedFilters(['id', 'uuid', 'uuidShort', 'name', 'owner_id', 'node_id', 'external_id'])
|
||||
->allowedSorts(['id', 'uuid', 'uuidShort', 'name', 'owner_id', 'node_id', 'status'])
|
||||
->paginate($perPage);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue