mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
FIX: searchContext set too early
This was firing before previous route deactivated.
This commit is contained in:
parent
871f2113e4
commit
b143b64511
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,6 @@ export default function(filter, params) {
|
|||
return;
|
||||
}
|
||||
|
||||
this.controllerFor('search').set('searchContext', model.get('searchContext'));
|
||||
this._setupNavigation(model);
|
||||
return Em.RSVP.all([this._createSubcategoryList(model),
|
||||
this._retrieveTopicList(model, transaction)]);
|
||||
|
@ -84,6 +83,7 @@ export default function(filter, params) {
|
|||
noSubcategories: params && !!params.no_subcategories
|
||||
});
|
||||
|
||||
this.controllerFor('search').set('searchContext', model.get('searchContext'));
|
||||
this.set('topics', null);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue