fix: optimized artists index
This commit is contained in:
parent
40024b69ae
commit
87198b46a5
@ -22,7 +22,7 @@ public function index()
|
|||||||
->withCount('artworks')
|
->withCount('artworks')
|
||||||
->orderBy('artworks_count', 'desc')
|
->orderBy('artworks_count', 'desc')
|
||||||
->paginate(100);
|
->paginate(100);
|
||||||
$podcasts = Podcast::where('published', true)->with('episodes')->get();
|
$podcasts = Podcast::where('published', true)->get();
|
||||||
return view('profile.artists', [
|
return view('profile.artists', [
|
||||||
'user' => $user,
|
'user' => $user,
|
||||||
'pageTitle' => 'Artists',
|
'pageTitle' => 'Artists',
|
||||||
|
Loading…
Reference in New Issue
Block a user