Merge branch '1955-client_index' of verdnatura/salix into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-12-26 08:16:08 +00:00 committed by Gitea
commit fd594841d5
1 changed files with 2 additions and 1 deletions

View File

@ -24,10 +24,11 @@ export default class Controller {
case 'socialName': case 'socialName':
case 'city': case 'city':
return {[param]: {like: `%${value}%`}}; return {[param]: {like: `%${value}%`}};
case 'email':
return {[param]: {like: `%${value}%`}};
case 'id': case 'id':
case 'fi': case 'fi':
case 'postcode': case 'postcode':
case 'email':
case 'salesPersonFk': case 'salesPersonFk':
return {[param]: value}; return {[param]: value};
} }