#6583 add new opt in where builder #3162

Merged
jorgep merged 16 commits from 6583-addOnlyDestination into dev 2024-12-18 08:48:42 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit f965f7aa52 - Show all commits

View File

@ -109,8 +109,7 @@ module.exports = Self => {
case 'departmentFk':
return {'f.departmentFk': value};
case 'onlyWithDestination':
if (!value) return;
return {'f.id': {neq: null}};
return {'f.id': value ? {neq: null} : null};
}
});