order by name

This commit is contained in:
Benjamin Takats
2023-01-19 15:11:54 +01:00
parent d1d98b6c31
commit 1ef00cb13f

View File

@@ -28,6 +28,7 @@ class LibraryTable extends Component
$libraries = \App\Models\Library::query() $libraries = \App\Models\Library::query()
->whereNull('parent_id') ->whereNull('parent_id')
->where('is_public', $shouldBePublic) ->where('is_public', $shouldBePublic)
->orderBy('name')
->get(); ->get();
$tabs = collect([ $tabs = collect([
[ [