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()
|
||||
->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,
|
||||
|
Loading…
Reference in New Issue
Block a user