fix: changing num per page on submitted.
This commit is contained in:
parent
3b45563ce5
commit
a6dc77feff
@ -31,7 +31,7 @@ public function index()
|
|||||||
->with('artist')
|
->with('artist')
|
||||||
->orderBy('episode_id', 'desc')
|
->orderBy('episode_id', 'desc')
|
||||||
->orderBy('created_at', 'desc')
|
->orderBy('created_at', 'desc')
|
||||||
->paginate($perPage = 54, $columns = ['*'], $pageName = 'artworks');
|
->paginate($perPage = 52, $columns = ['*'], $pageName = 'artworks');
|
||||||
$podcasts = Cache::remember('publishedPodcasts', 30, function() {
|
$podcasts = Cache::remember('publishedPodcasts', 30, function() {
|
||||||
return Podcast::where('published', true)->get();
|
return Podcast::where('published', true)->get();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user