mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:20:43 +08:00
reset category on report data page
This commit is contained in:
parent
06dc63fbae
commit
5cb8f3bce5
|
@ -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')
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user