Reset "star" and "mention" on new order
This commit is contained in:
parent
454fbc8ad7
commit
ab34cbbfec
|
@ -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