Skip to content
Permalink
Browse files

FIX: pass correct date arguments to server when exporting CSV

  • Loading branch information...
techAPJ committed May 1, 2019
1 parent 002e1f5 commit c6409fd2cc98bf53caddbbcfc81359dbd4a820c2
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/assets/javascripts/admin/components/admin-report.js.es6
@@ -218,8 +218,8 @@ export default Ember.Component.extend({

exportEntity("report", {
name: this.get("model.type"),
startDate: this.get("startDate"),
endDate: this.get("endDate"),
start_date: this.get("startDate"),
end_date: this.get("endDate"),
category_id: customFilters.category,
group_id: customFilters.group
}).then(outputExportResult);

1 comment on commit c6409fd

@discoursebot

This comment has been minimized.

Copy link

commented on c6409fd May 1, 2019

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/csv-export-of-reports-is-broken/116501/6

Please sign in to comment.
You can’t perform that action at this time.