mirror of
https://github.com/flarum/core.git
synced 2025-08-09 01:46:35 +02:00
committed by
GitHub
parent
72bb3ef5be
commit
a67e90adf4
@@ -18,6 +18,12 @@ export default function addSubscriptionFilter() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
extend(IndexPage.prototype, 'config', function () {
|
||||||
|
if (m.route() == "/following") {
|
||||||
|
app.setTitle(app.translator.trans('flarum-subscriptions.forum.following.meta_title_text'));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
extend(DiscussionList.prototype, 'requestParams', function(params) {
|
extend(DiscussionList.prototype, 'requestParams', function(params) {
|
||||||
if (this.props.params.filter === 'following') {
|
if (this.props.params.filter === 'following') {
|
||||||
params.filter.q = (params.filter.q || '') + ' is:following';
|
params.filter.q = (params.filter.q || '') + ' is:following';
|
||||||
|
Reference in New Issue
Block a user