chore: refs #7323 filter data
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-09-06 17:49:45 +02:00
parent 0a4bd0f2d5
commit ba2c5cb209
1 changed files with 20 additions and 2 deletions

View File

@ -143,6 +143,10 @@
], ],
"scopes": { "scopes": {
"descriptor": { "descriptor": {
"fields": [
"id",
"phone"
],
"include": [ "include": [
{ {
"relation": "user", "relation": "user",
@ -164,15 +168,29 @@
{ {
"relation": "department", "relation": "department",
"scope": { "scope": {
"fields": [
"departmentFk"
],
"include": [ "include": [
{ {
"relation": "department" "relation": "department",
"scope": {
"fields": [
"id",
"name"
]
}
} }
] ]
} }
}, },
{ {
"relation": "sip" "relation": "sip",
"scope": {
"fields": [
"extension"
]
}
} }
] ]
} }