Merge branch 'release/5.0.0' into develop
This commit is contained in:
commit
4e4c23c5b8
|
@ -461,7 +461,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
static countTotal () {
|
static countTotal () {
|
||||||
return this.count()
|
return UserModel.unscoped().count()
|
||||||
}
|
}
|
||||||
|
|
||||||
static listForAdminApi (parameters: {
|
static listForAdminApi (parameters: {
|
||||||
|
|
Loading…
Reference in New Issue