refs #5131 IPT null or value
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-01-31 13:06:58 +01:00
parent 331b278726
commit e5b7ebd8b4
1 changed files with 12 additions and 2 deletions

View File

@ -92,9 +92,19 @@ module.exports = Self => {
case 'futureId': case 'futureId':
return {'f.futureId': value}; return {'f.futureId': value};
case 'ipt': case 'ipt':
return {'f.ipt': value}; return {or:
[
{'f.ipt': {like: `%${value}%`}},
{'f.ipt': null}
]
};
case 'futureIpt': case 'futureIpt':
return {'f.futureIpt': value}; return {or:
[
{'f.futureIpt': {like: `%${value}%`}},
{'f.futureIpt': null}
]
};
case 'isNotValidated': case 'isNotValidated':
return {'f.isNotValidated': value}; return {'f.isNotValidated': value};
case 'futureIsNotValidated': case 'futureIsNotValidated':