From bbc11fc559f70bead04fb7b2045e1a687956400d Mon Sep 17 00:00:00 2001 From: iIronside Date: Thu, 19 Jan 2023 13:55:28 +0300 Subject: [PATCH] fix actionFindByDate in ReportsController --- frontend/modules/api/controllers/ReportsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/modules/api/controllers/ReportsController.php b/frontend/modules/api/controllers/ReportsController.php index f7a03df..0e683df 100755 --- a/frontend/modules/api/controllers/ReportsController.php +++ b/frontend/modules/api/controllers/ReportsController.php @@ -87,7 +87,7 @@ class ReportsController extends ApiController if(!$reportsModel->validate()){ return $reportsModel->errors; } - return $reportsModel->byParams(); + return $reportsModel->findByDate(); } public function actionCreate()