Order albums chronologically ascending.
This commit is contained in:
parent
0341f73d09
commit
6f94df04f0
@ -90,7 +90,7 @@ class ViewPhotoAlbum extends HTMLController
|
||||
list($this->iterator, $total_count) = AssetIterator::getByOptions([
|
||||
'id_tag' => $id_tag,
|
||||
'order' => 'date_captured',
|
||||
'direction' => 'desc',
|
||||
'direction' => $id_tag > 0 ? 'asc' : 'desc',
|
||||
'limit' => self::PER_PAGE,
|
||||
'page' => $page,
|
||||
], true);
|
||||
|
Loading…
Reference in New Issue
Block a user