chore: refs #7197 add supplierActivityFk filter
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-07-04 13:10:32 +02:00
parent c99042c831
commit dce62245e9
1 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,10 @@ module.exports = Self => {
{
arg: 'correctingFk',
type: 'Boolean',
},
{
arg: 'supplierActivityFk',
type: 'string',
}
],
returns: {
@ -155,6 +159,8 @@ module.exports = Self => {
: {'ii.id': {nin: correcteds.map(x => x.correctingFk)}};
case 'correctedFk':
return {'ii.id': {inq: correctings.map(x => x.correctingFk)}};
case 'supplierActivityFk':
return {'s.supplierActivityFk': value};
}
});