fix: refs #6583 update onlyWithDestination logic to handle null values correctly
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
b4c8e16019
commit
f965f7aa52
|
@ -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};
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue