Opps, cutted this out by accident ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-25 15:06:54 +01:00 committed by Roland Häder
parent 593d1feca6
commit 7c048b5077
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -1232,6 +1232,8 @@ function photos_content(App $a)
if (!Config::get('system', 'no_count', false)) { if (!Config::get('system', 'no_count', false)) {
$order_field = defaults($_GET, 'order', ''); $order_field = defaults($_GET, 'order', '');
if ($order_field === 'posted') { if ($order_field === 'posted') {
if (!Config::get('system', 'no_count', false)) {
if ($_GET['order'] === 'posted') {
$order = 'ASC'; $order = 'ASC';
} else { } else {
$order = 'DESC'; $order = 'DESC';