From 068ed2018a1637e798ecf6abd01bd0793660a737 Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Fri, 9 Sep 2016 17:11:09 +0100 Subject: [PATCH] Fixed typo using the correct config value --- app/Http/Controllers/Gallery/AlbumController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Gallery/AlbumController.php b/app/Http/Controllers/Gallery/AlbumController.php index 423cc6e..efc057c 100644 --- a/app/Http/Controllers/Gallery/AlbumController.php +++ b/app/Http/Controllers/Gallery/AlbumController.php @@ -26,7 +26,7 @@ class AlbumController extends Controller $photos = $album->photos() ->orderBy(DB::raw('COALESCE(taken_at, created_at)')) - ->paginate(UserConfig::get('items_per_page_admin')); + ->paginate(UserConfig::get('items_per_page')); return Theme::render('gallery.album', [ 'album' => $album,