Reset "star" and "mention" on new order

This commit is contained in:
Michael 2021-02-21 11:14:35 +00:00
parent 454fbc8ad7
commit ab34cbbfec

View file

@ -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';
} }