From 96cdbbde127a4cacad44a4b51c1c161a89ba68dd Mon Sep 17 00:00:00 2001 From: vladfo Date: Fri, 20 Sep 2024 02:50:39 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC=D1=8B?= =?utf8?q?=20=D1=81=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B0=D0=BC?= =?utf8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/actions/task/IndexAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/actions/task/IndexAction.php b/erp24/actions/task/IndexAction.php index b20aea63..409918c9 100755 --- a/erp24/actions/task/IndexAction.php +++ b/erp24/actions/task/IndexAction.php @@ -295,7 +295,7 @@ class IndexAction extends Action $tasks = $tasks->andWhere(['status' => Task::STATUS_CLOSED]); } } - $tasks = $tasks->andWhere(['or', ['parent_id' => 0], ['parent_id' => null]])->all(); + $tasks = $tasks->andWhere(['or', ['task.parent_id' => 0], ['task.parent_id' => null]])->all(); //var_dump($tasks); if (Yii::$app->request->isPjax) { $task = Task::findOne($task_id); -- 2.39.5