mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
empty episode links filtered
This commit is contained in:
@@ -39,6 +39,7 @@ class PodcastEpisodesTable extends Component
|
|||||||
return view('livewire.library.podcast-episodes-table', [
|
return view('livewire.library.podcast-episodes-table', [
|
||||||
'episodes' => Episode::query()
|
'episodes' => Episode::query()
|
||||||
->with(['podcast'])
|
->with(['podcast'])
|
||||||
|
->whereNot('data->link', '=', '')
|
||||||
->when($this->search,
|
->when($this->search,
|
||||||
fn($query, $search) => $query
|
fn($query, $search) => $query
|
||||||
->where('data->title', 'ilike', "%{$search}%")
|
->where('data->title', 'ilike', "%{$search}%")
|
||||||
|
|||||||
Reference in New Issue
Block a user