Opps, cutted this out by accident ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
11dcb31960
commit
2fd14eac70
|
@ -1251,6 +1251,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';
|
||||||
|
|
Loading…
Reference in a new issue