ts
This commit is contained in:
@@ -215,8 +215,9 @@ class UserService
|
||||
$config['where']['status'] = $p['status'];
|
||||
}
|
||||
|
||||
$config['with']= ['reportToInfo'];
|
||||
if (!in_array(1, $request->user->role_ids)) {
|
||||
$config['with']= ['reportToInfo'];
|
||||
$config['where']['reportToInfo.id'] = $request->user->uid;
|
||||
}
|
||||
|
||||
// $config['dataLimit']['type'] = 'relation';
|
||||
|
||||
Reference in New Issue
Block a user