mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-07 18:07:05 +00:00
perf: 搜索会员默认机器人排在最后
This commit is contained in:
parent
a3a9024662
commit
e5eb2889e3
@ -524,6 +524,8 @@ class UsersController extends AbstractController
|
||||
}
|
||||
if (in_array($sorts['az'], ['asc', 'desc'])) {
|
||||
$builder->orderBy('az', $sorts['az']);
|
||||
} else {
|
||||
$builder->orderBy('bot');
|
||||
}
|
||||
//
|
||||
if (Request::exists('page')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user