From dc24151728c474c0b5333fa8dc34231cd2b9d77e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 5 Sep 2022 15:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GiiController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GiiController.php b/GiiController.php index 8ef46c8..1a7eaf2 100644 --- a/GiiController.php +++ b/GiiController.php @@ -391,9 +391,10 @@ use {$model_namespace}\\{$managerName}; } else { $order = \'id desc\'; } - + $getWhere = []; + '.$this->getWhere($fields).' //列表输出 - $model = ' . $managerName . '::query()->where($this->request->gets())->orderBy($order); + $model = ' . $managerName . '::query()->orderBy($order); $keyword = $this->request->query(\'keyword\', null); if (!empty($keyword)) {