fix: fixes artwork count on podcasts index page
This commit is contained in:
@@ -21,7 +21,7 @@ class PodcastController extends Controller
|
||||
$episodes = Episode::where('published', true)
|
||||
->whereNotNull('artwork_id')
|
||||
->with('artwork')
|
||||
->with('artworks')
|
||||
->with('approvedArtworks')
|
||||
->where('podcast_id', $podcast->id)
|
||||
->orderBy('episode_number', 'desc')->paginate(100);
|
||||
$podcasts = Podcast::where('published', true)->with('episodes')->get();
|
||||
|
||||
Reference in New Issue
Block a user