]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Make frio more consistent by replacing textual links with icons everywhere. (#5415)
[friendica.git] / mod / photos.php
index 8798cbb7a8836c9395fc0ee69d5d2a8817724da0..07916c5871b4cf61aa0d55d81c8e4a838c434589 100644 (file)
@@ -1154,9 +1154,9 @@ function photos_content(App $a)
                }
 
                if ($order_field === 'posted') {
-                       $order =  [L10n::t('Show Newest First'), 'photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album)];
+                       $order =  [L10n::t('Show Newest First'), 'photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album), 'oldest'];
                } else {
-                       $order = [L10n::t('Show Oldest First'), 'photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album) . '?f=&order=posted'];
+                       $order = [L10n::t('Show Oldest First'), 'photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album) . '?f=&order=posted', 'newest'];
                }
 
                $photos = [];