fix: myTeam param
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2024-10-14 13:25:09 +02:00
parent 4ee6a46bd5
commit 07849ebeb8
1 changed files with 2 additions and 2 deletions

View File

@ -138,9 +138,9 @@ module.exports = Self => {
return {'c.salesPersonFk': value}; return {'c.salesPersonFk': value};
case 'myTeam': case 'myTeam':
if (value) if (value)
return {'c.salesPersonFk': {inq: teamMembersId}}; return {'tr.requesterFk': {inq: teamMembersId}};
else else
return {'c.salesPersonFk': {nin: teamMembersId}}; return {'tr.requesterFk': {nin: teamMembersId}};
} }
}); });