['except' => ''], 'search' => ['except' => ''], ]; public function loadMore() { $this->perPage += 9; } public function resetFiltering($isLecturerPage = false) { return to_route('library.table.podcastsEpisodes', ['country' => $this->country]); } public function render() { return view('livewire.library.podcast-episodes-table', [ 'episodes' => Episode::query() ->with(['podcast']) ->when($this->search, fn($query, $search) => $query ->where('data->title', 'ilike', "%{$search}%") ->orWhere('data->description', 'ilike', "%{$search}%") ) ->orderByDesc('data->datePublished') ->paginate($this->perPage), ])->layout('layouts.app', [ 'SEOData' => new SEOData( title: __('Podcast Episodes'), description: __('Search and find Bitcoin Podcast episodes.'), image: asset('img/Screenshot_Podcast_Episodes.png') ), ]); } }