1
0
mirror of https://github.com/flarum/core.git synced 2025-08-16 05:14:20 +02:00

Fix following discussion list filter

This commit is contained in:
Toby Zerner
2015-07-27 12:44:45 +09:30
parent d6fe156e89
commit bb8232297f
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ export default function addSubscriptionControls() {
});
extend(DiscussionList.prototype, 'requestParams', function(params) {
if (params.filter === 'following') {
params.q = (params.q || '') + ' is:following';
if (this.props.params.filter === 'following') {
params.filter.q = (params.filter.q || '') + ' is:following';
}
});
}