update index filter
gitea/salix/1955-client_index This commit looks good Details

This commit is contained in:
Bernat Exposito Domenech 2019-12-26 08:20:16 +01:00
parent d97a188b37
commit 0a37f3a1b2
1 changed files with 2 additions and 1 deletions

View File

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