From 2febc2bb5632ad1e4b18466221f38eb2255d6f57 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Thu, 30 Apr 2020 17:58:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E9=97=A8=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/permissions/model/Department.php | 1 + 1 file changed, 1 insertion(+) diff --git a/catch/permissions/model/Department.php b/catch/permissions/model/Department.php index dfa6afe..8519c67 100644 --- a/catch/permissions/model/Department.php +++ b/catch/permissions/model/Department.php @@ -38,6 +38,7 @@ class Department extends CatchModel return $this->withoutField(['department_name']) ->addFields(['department_name as title']) ->catchSearch() + ->order() ->select()->toArray(); } }