Order dashboard systems by name
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@use(App\Models\Domain)
|
||||
|
||||
<div id="sidebar-scroller">
|
||||
FTN Networks
|
||||
|
||||
@@ -12,7 +14,7 @@
|
||||
@endif
|
||||
@endauth
|
||||
|
||||
@if(($x=\App\Models\Domain::select(['id','name'])
|
||||
@if(($x=Domain::select(['id','name'])
|
||||
->when(((! $user) || (! $user->isAdmin())),fn($query)=>$query->public()->active())
|
||||
->orderBy('name')
|
||||
->get())
|
||||
|
Reference in New Issue
Block a user