Fixed typo using the correct config value

This commit is contained in:
Andy Heathershaw 2016-09-09 17:11:09 +01:00
parent 7a59ac03fd
commit 068ed2018a

View File

@ -26,7 +26,7 @@ class AlbumController extends Controller
$photos = $album->photos() $photos = $album->photos()
->orderBy(DB::raw('COALESCE(taken_at, created_at)')) ->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', [ return Theme::render('gallery.album', [
'album' => $album, 'album' => $album,