update filter user

This commit is contained in:
2025-01-13 13:40:39 +07:00
parent ef4e2030f5
commit b8929f807d

View File

@ -78,7 +78,7 @@ export class UserController {
const { whereAttr, whereVal } = CommonHelper.handleFilter({
filter: param.filter,
col_any_eq: ['email'],
col_any_like: ['name', 'username']
col_any_like: ['User.name', 'User.username']
});
const res_count = userRepository.createQueryBuilder()