Sort Photos in Album - Newest First
This one should be easy and it would be nice to have the option in Album Settings to set a default sort order on albums or photos.
So how do I tell albums to sort photos by Newest first?
When I add photos to an existing album they go to the back of the pack which silly.
-
-
·
LeonidS
- ·
Hello Molosser Dogs !
The quickest way to do it: just comment the following line in the modules\boonex\albums\classes\BxAlbumsSearchResultMedia.php
$this->sOrderDirection = 'ASC';
But don't forget to revert it back before the next upgrade.
-
·
LeonidS
-
-
-
·
LeonidS
-
·
In reply to bouhlal
B
- ·
Yes, it will work too, but this field of this class has the 'desc' as the default values. So my hint looks better logically :-)
-
·
LeonidS
-
Hello Molosser Dogs !
The quickest way to do it: just comment the following line in the modules\boonex\albums\classes\BxAlbumsSearchResultMedia.php
$this->sOrderDirection = 'ASC';
But don't forget to revert it back before the next upgrade.
Just a question, shouldn't it be 1st then last? So before every upgrade one would have to revert? It should be an auto default no?
-
Will Monte exactly my point.
-
My comment was posted under Will's response but it showed up on LeonidS... Weird. Doing it again Posting on Will Monte lets see where it ends up.
-
Will Monte exactly my point.
You don't need to be a genius to have common sense, just saying.
-
- · Molosser Dogs
- ·
Ok.. awesome that worked but we still need the sort options as a function of the App. Maybe put it in settings so we can chose.
-
Thank you for the suggestion:
https://github.com/unaio/una/issues/2581