From 486ed10348c6f3f1c16be24b3c0448b8eefa509e Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Sat, 25 Mar 2023 21:18:15 +0100 Subject: [PATCH] empty episode links filtered --- app/Http/Livewire/Library/PodcastEpisodesTable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Livewire/Library/PodcastEpisodesTable.php b/app/Http/Livewire/Library/PodcastEpisodesTable.php index 94105a9a..3b68ae6f 100644 --- a/app/Http/Livewire/Library/PodcastEpisodesTable.php +++ b/app/Http/Livewire/Library/PodcastEpisodesTable.php @@ -39,6 +39,7 @@ class PodcastEpisodesTable extends Component return view('livewire.library.podcast-episodes-table', [ 'episodes' => Episode::query() ->with(['podcast']) + ->whereNot('data->link', '=', '') ->when($this->search, fn($query, $search) => $query ->where('data->title', 'ilike', "%{$search}%")