Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
browsing history
This discussion has been closed.
Comments
FWIW, I reported this via the bug report form a long time ago. And I posted this a few days ago. Meh.
On line 193 of
extensions\PanelLists\default.php
(just after some very similar lines of code) insert:function DiscussionManager_FilterToHistoryCount(&$DiscussionManager) { $s = &$DiscussionManager->DelegateParameters['SqlBuilder']; $s->AddJoin('UserDiscussionWatch', 'utw', 'DiscussionID', 't', 'DiscussionID', 'left join', ' and utw.'.$DiscussionManager->Context->DatabaseColumns['UserDiscussionWatch']['UserID'].' = '.$DiscussionManager->Context->Session->UserID); $s->AddWhere('utw', 'UserID', '', $DiscussionManager->Context->Session->UserID, '='); } $Context->AddToDelegate('DiscussionManager', 'PreGetDiscussionCount', 'DiscussionManager_FilterToHistoryCount');
The other filters (bookmarks, whispers, your discussions) appear to already do this correctly.