mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Opps, cutted this out by accident ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
593d1feca6
commit
7c048b5077
1 changed files with 2 additions and 0 deletions
|
@ -1232,6 +1232,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';
|
||||
|
|
Loading…
Reference in a new issue