mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
Merge pull request #9475 from annando/network-order
Fix order on network page
This commit is contained in:
commit
e5c145e73c
1 changed files with 2 additions and 2 deletions
|
@ -289,17 +289,17 @@ class Network extends BaseModule
|
|||
|
||||
if (!empty($get['star'])) {
|
||||
self::$selectedTab = 'star';
|
||||
self::$order = 'received';
|
||||
}
|
||||
|
||||
if (!empty($get['mention'])) {
|
||||
self::$selectedTab = 'mention';
|
||||
self::$order = 'received';
|
||||
}
|
||||
|
||||
if (!empty($get['order'])) {
|
||||
self::$selectedTab = $get['order'];
|
||||
self::$order = $get['order'];
|
||||
} elseif (in_array(self::$selectedTab, ['received', 'star', 'mention'])) {
|
||||
self::$order = 'received';
|
||||
}
|
||||
|
||||
self::$star = intval($get['star'] ?? 0);
|
||||
|
|
Loading…
Reference in a new issue