mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:57:36 +08:00
fix params that are send to category route
This commit is contained in:
parent
9c250444ff
commit
e97aa3f544
|
@ -80,8 +80,8 @@ export default function(filter, params) {
|
||||||
period: periods.findBy('id', periodId),
|
period: periods.findBy('id', periodId),
|
||||||
selected: [],
|
selected: [],
|
||||||
noSubcategories: params && !!params.no_subcategories,
|
noSubcategories: params && !!params.no_subcategories,
|
||||||
order: model.get('params.order'),
|
order: topics.get('params.order'),
|
||||||
ascending: model.get('params.ascending'),
|
ascending: topics.get('params.ascending'),
|
||||||
});
|
});
|
||||||
|
|
||||||
this.controllerFor('search').set('searchContext', model.get('searchContext'));
|
this.controllerFor('search').set('searchContext', model.get('searchContext'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user