fix: optimized artists index

This commit is contained in:
Paul Couture 2023-12-20 07:07:33 +00:00
parent 40024b69ae
commit 87198b46a5

View File

@ -22,7 +22,7 @@ public function index()
->withCount('artworks')
->orderBy('artworks_count', 'desc')
->paginate(100);
$podcasts = Podcast::where('published', true)->with('episodes')->get();
$podcasts = Podcast::where('published', true)->get();
return view('profile.artists', [
'user' => $user,
'pageTitle' => 'Artists',