mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:40:17 +00:00
Reset "star" and "mention" on new order
This commit is contained in:
parent
454fbc8ad7
commit
ab34cbbfec
1 changed files with 2 additions and 0 deletions
|
@ -306,6 +306,8 @@ class Network extends BaseModule
|
||||||
if (!empty($get['order'])) {
|
if (!empty($get['order'])) {
|
||||||
self::$selectedTab = $get['order'];
|
self::$selectedTab = $get['order'];
|
||||||
self::$order = $get['order'];
|
self::$order = $get['order'];
|
||||||
|
self::$star = false;
|
||||||
|
self::$mention = false;
|
||||||
} elseif (in_array(self::$selectedTab, ['received', 'star', 'mention'])) {
|
} elseif (in_array(self::$selectedTab, ['received', 'star', 'mention'])) {
|
||||||
self::$order = 'received';
|
self::$order = 'received';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue