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), 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'));