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": {
"descriptor": {
"fields": [
"id",
"phone"
],
"include": [
{
"relation": "user",
@ -164,15 +168,29 @@
{
"relation": "department",
"scope": {
"fields": [
"departmentFk"
],
"include": [
{
"relation": "department"
"relation": "department",
"scope": {
"fields": [
"id",
"name"
]
}
}
]
}
},
{
"relation": "sip"
"relation": "sip",
"scope": {
"fields": [
"extension"
]
}
}
]
}