Fixed typo using the correct config value
This commit is contained in:
parent
7a59ac03fd
commit
068ed2018a
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user