mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
podcast episodes view added
This commit is contained in:
@@ -43,6 +43,8 @@ class PodcastEpisodesTable extends Component
|
||||
fn($query, $search) => $query
|
||||
->where('data->title', 'ilike', "%{$search}%")
|
||||
->orWhere('data->description', 'ilike', "%{$search}%")
|
||||
->orWhereHas('podcast',
|
||||
fn($query) => $query->where('data->title', 'ilike', "%{$search}%"))
|
||||
)
|
||||
->orderByDesc('data->datePublished')
|
||||
->paginate($this->perPage),
|
||||
|
||||
Reference in New Issue
Block a user