From 2a8c72167bb3bcd8df49893d070ce1c9aa9ac087 Mon Sep 17 00:00:00 2001 From: marina Date: Wed, 18 Sep 2024 16:06:26 +0300 Subject: [PATCH] =?utf8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5=D0=BD?= =?utf8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20date=5Fshift=20TimetableF?= =?utf8?q?actModel.php=20=D0=B2=20date?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/forms/timetable/TabelSearchForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/forms/timetable/TabelSearchForm.php b/erp24/forms/timetable/TabelSearchForm.php index 53147b2f..e9a41f32 100755 --- a/erp24/forms/timetable/TabelSearchForm.php +++ b/erp24/forms/timetable/TabelSearchForm.php @@ -128,8 +128,8 @@ class TabelSearchForm extends Model } else { return $class::find() ->andWhere(['store_id' => array_keys(self::stores())]) - ->andFilterWhere(['>=', 'date_shift', $this->start]) - ->andFilterWhere(['<=', 'date_shift', $this->end]); + ->andFilterWhere(['>=', 'date', $this->start]) + ->andFilterWhere(['<=', 'date', $this->end]); } } -- 2.39.5