fix params that are send to category route

This commit is contained in:
Sam 2015-01-05 18:34:06 +11:00
parent 9c250444ff
commit e97aa3f544

View File

@ -80,8 +80,8 @@ export default function(filter, params) {
period: periods.findBy('id', periodId),
selected: [],
noSubcategories: params && !!params.no_subcategories,
order: model.get('params.order'),
ascending: model.get('params.ascending'),
order: topics.get('params.order'),
ascending: topics.get('params.ascending'),
});
this.controllerFor('search').set('searchContext', model.get('searchContext'));