mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
->ordered()
This commit is contained in:
@@ -31,6 +31,7 @@ class SearchByTagComponent extends Component
|
|||||||
])
|
])
|
||||||
->where('type', 'library_item')
|
->where('type', 'library_item')
|
||||||
->whereHas('libraryItems.libraries', fn($query) => $query->where('is_public', $shouldBePublic))
|
->whereHas('libraryItems.libraries', fn($query) => $query->where('is_public', $shouldBePublic))
|
||||||
|
->ordered()
|
||||||
->get(),
|
->get(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user