From: marina Date: Wed, 18 Sep 2024 09:05:39 +0000 (+0300) Subject: ERP-175 Исправить ошибки ворк-бота корректная версия X-Git-Tag: 1.5~17^2~5 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=1d282b141c57dbb6f791cf751555e2feebf28eb1;p=erp24_rep%2Fyii-erp24%2F.git ERP-175 Исправить ошибки ворк-бота корректная версия --- diff --git a/erp24/api3/modules/v1/controllers/timetable/PlanController.php b/erp24/api3/modules/v1/controllers/timetable/PlanController.php index 0f1ef6ed..4508a23d 100644 --- a/erp24/api3/modules/v1/controllers/timetable/PlanController.php +++ b/erp24/api3/modules/v1/controllers/timetable/PlanController.php @@ -34,7 +34,7 @@ class PlanController extends \yii_app\api3\controllers\ActiveController $actions['index']['dataFilter'] = [ 'class' => \yii\data\ActiveDataFilter::class, - 'searchModel' => $actions['index']['modelClass'] + 'searchModel' => $this->modelClass, ]; unset($actions['delete']);