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