mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
filters updated
This commit is contained in:
@@ -18,7 +18,9 @@ class Library extends Component
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.frontend.library', [
|
||||
'libraries' => \App\Models\Library::get()
|
||||
'libraries' => \App\Models\Library::query()
|
||||
->where('is_public', true)
|
||||
->get()
|
||||
->prepend(\App\Models\Library::make([
|
||||
'name' => 'Alle',
|
||||
])),
|
||||
|
||||
Reference in New Issue
Block a user