mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
library with grid
This commit is contained in:
@@ -72,6 +72,7 @@ class LibraryTable extends Component
|
|||||||
fn($query) => $query->whereIn('tags.id', $this->filters)))
|
fn($query) => $query->whereIn('tags.id', $this->filters)))
|
||||||
->whereHas('libraries',
|
->whereHas('libraries',
|
||||||
fn($query) => $query->where('libraries.is_public', $shouldBePublic))
|
fn($query) => $query->where('libraries.is_public', $shouldBePublic))
|
||||||
|
->orderByDesc('library_items.created_at')
|
||||||
->get(),
|
->get(),
|
||||||
])->layout('layouts.app', [
|
])->layout('layouts.app', [
|
||||||
'SEOData' => new SEOData(
|
'SEOData' => new SEOData(
|
||||||
|
|||||||
Reference in New Issue
Block a user