From c6409fd2cc98bf53caddbbcfc81359dbd4a820c2 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 1 May 2019 10:46:30 +0530 Subject: [PATCH] FIX: pass correct date arguments to server when exporting CSV --- app/assets/javascripts/admin/components/admin-report.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/components/admin-report.js.es6 b/app/assets/javascripts/admin/components/admin-report.js.es6 index cc18c91961..0d8ce63814 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);