ChainKiller
💖 Chevereto Fan
I'm trying to change the default image order in albums.
I copied route.album to overrides and changed
to
Shouldn't that change the default order to date ascending?
But when i go to an album i get "Chevereto error: Internal Server Error".
LE: figured it out, i have to change
to
I copied route.album to overrides and changed
PHP:
$list->setSortType($list_params['sort'][0]); // date | size | views
$list->setSortOrder($list_params['sort'][1]); // asc | desc
PHP:
$list->setSortType($list_params['sort'][0]); // date | size | views
$list->setSortOrder($list_params['sort'][0]); // asc | desc
Shouldn't that change the default order to date ascending?
But when i go to an album i get "Chevereto error: Internal Server Error".
LE: figured it out, i have to change
PHP:
$list->setSortOrder($list_params['sort'][1]);
PHP:
$list->setSortOrder('asc');
Last edited: