From 5cb8f3bce5382e8770b067c46aae7fd6238b53e0 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 3 Jul 2015 13:12:40 -0400 Subject: [PATCH] reset category on report data page --- app/assets/javascripts/admin/routes/admin_reports_route.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/admin/routes/admin_reports_route.js b/app/assets/javascripts/admin/routes/admin_reports_route.js index 21b842a9f86..2e11a0d39e0 100644 --- a/app/assets/javascripts/admin/routes/admin_reports_route.js +++ b/app/assets/javascripts/admin/routes/admin_reports_route.js @@ -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') });