update filter user
This commit is contained in:
@ -78,7 +78,7 @@ export class UserController {
|
|||||||
const { whereAttr, whereVal } = CommonHelper.handleFilter({
|
const { whereAttr, whereVal } = CommonHelper.handleFilter({
|
||||||
filter: param.filter,
|
filter: param.filter,
|
||||||
col_any_eq: ['email'],
|
col_any_eq: ['email'],
|
||||||
col_any_like: ['name', 'username']
|
col_any_like: ['User.name', 'User.username']
|
||||||
});
|
});
|
||||||
|
|
||||||
const res_count = userRepository.createQueryBuilder()
|
const res_count = userRepository.createQueryBuilder()
|
||||||
|
|||||||
Reference in New Issue
Block a user