From 60fa89109968f67897ee28dd8855730fac84e6db Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 24 Jan 2017 11:03:27 +0200 Subject: [PATCH] -Before css compression --- controllers/StatisticsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/StatisticsController.php b/controllers/StatisticsController.php index 49931f2..d1050e9 100755 --- a/controllers/StatisticsController.php +++ b/controllers/StatisticsController.php @@ -2,7 +2,6 @@ namespace artweb\artbox\ecommerce\controllers; - use arturoliveira\ExcelView; use artweb\artbox\ecommerce\models\Label; use artweb\artbox\ecommerce\models\Order; use common\models\User; @@ -187,6 +186,7 @@ public function actionExport($date_range = NULL, $label = NULL, $manager = NULL) { + \Yii::$app->response = Response::FORMAT_JSON; $formatter = \Yii::$app->formatter; /** * Get export options -- libgit2 0.21.4