reset category on report data page

This commit is contained in:
Neil Lalonde 2015-07-03 13:12:40 -04:00
parent 06dc63fbae
commit 5cb8f3bce5

View File

@ -14,6 +14,7 @@ Discourse.AdminReportsRoute = Discourse.Route.extend({
setupController: function(controller, model) {
controller.setProperties({
model: model,
categoryId: 'all',
startDate: moment(model.get('start_date')).format('YYYY-MM-DD'),
endDate: moment(model.get('end_date')).format('YYYY-MM-DD')
});