mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +03:00
update model
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
fd303723aa
commit
a5869ceb87
File diff suppressed because it is too large
Load Diff
@ -105,7 +105,7 @@ export function createModel (builder: Builder): void {
|
||||
resume: chunter.class.Attachment
|
||||
}
|
||||
} as FindOptions<Doc>, // TODO: fix
|
||||
config: ['', '$lookup.resume', 'channels', 'city']
|
||||
config: ['', 'city', '$lookup.resume', 'channels']
|
||||
})
|
||||
|
||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||
@ -118,7 +118,7 @@ export function createModel (builder: Builder): void {
|
||||
candidate: recruit.class.Candidate
|
||||
}
|
||||
} as FindOptions<Doc>, // TODO: fix
|
||||
config: ['$lookup.candidate', '$lookup.candidate.email', '$lookup.candidate.city']
|
||||
config: ['$lookup.candidate', '$lookup.candidate.city', '$lookup.candidate.channels']
|
||||
})
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user