diff --git a/catch/user/model/Users.php b/catch/user/model/Users.php index e0f9a28..1be7e98 100644 --- a/catch/user/model/Users.php +++ b/catch/user/model/Users.php @@ -56,7 +56,7 @@ class Users extends CatchModel ->catchSearch() ->catchLeftJoin(Department::class, 'id', 'department_id', ['department_name']) ->order('users.id', 'desc') - ->paginate($search['limit'] ?? $this->limit); + ->paginate($search['limit'] ?? parent::LIMIT); } /**