From 2fd14eac7068bd842720510fac00ad42d5199c25 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Mar 2017 15:06:54 +0100 Subject: [PATCH] Opps, cutted this out by accident ... Signed-off-by: Roland Haeder --- mod/photos.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod/photos.php b/mod/photos.php index 15dbad7fa7..32d52c6489 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1251,6 +1251,8 @@ function photos_content(App $a) if (!Config::get('system', 'no_count', false)) { $order_field = defaults($_GET, 'order', ''); if ($order_field === 'posted') { + if (!Config::get('system', 'no_count', false)) { + if ($_GET['order'] === 'posted') { $order = 'ASC'; } else { $order = 'DESC'; -- 2.39.5