FIX: pass correct date arguments to server when exporting CSV

FIX: pass correct date arguments to server when exporting CSV

diff --git a/app/assets/javascripts/admin/components/admin-report.js.es6 b/app/assets/javascripts/admin/components/admin-report.js.es6
index cc18c91..0d8ce63 100644
--- a/app/assets/javascripts/admin/components/admin-report.js.es6
+++ b/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);

GitHub sha: c6409fd2

1 Like

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