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':
|
case 'departmentFk':
|
||||||
return {'f.departmentFk': value};
|
return {'f.departmentFk': value};
|
||||||
case 'onlyWithDestination':
|
case 'onlyWithDestination':
|
||||||
if (!value) return;
|
return {'f.id': value ? {neq: null} : null};
|
||||||
return {'f.id': {neq: null}};
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue