mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 11:04:45 +02:00
Sort server vars for front end
This commit is contained in:
parent
d656f21cd9
commit
44cc5a8132
@ -31,7 +31,7 @@ class StartupController extends ClientApiController
|
||||
$startup = $this->startupCommandService->handle($server);
|
||||
|
||||
return $this->fractal->collection(
|
||||
$server->variables()->where('user_viewable', true)->get()
|
||||
$server->variables()->orderBy('sort')->where('user_viewable', true)->get()
|
||||
)
|
||||
->transformWith($this->getTransformer(EggVariableTransformer::class))
|
||||
->addMeta([
|
||||
|
Loading…
x
Reference in New Issue
Block a user