mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Improve kanban view (#4441)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
b15f94f885
commit
5a9774cc30
@ -120,13 +120,9 @@
|
||||
|
||||
const lookup: Lookup<Issue> = {
|
||||
...(options?.lookup ?? {}),
|
||||
space: tracker.class.Project,
|
||||
status: tracker.class.IssueStatus,
|
||||
component: tracker.class.Component,
|
||||
milestone: tracker.class.Milestone,
|
||||
attachedTo: tracker.class.Issue,
|
||||
_id: {
|
||||
subIssues: tracker.class.Issue,
|
||||
labels: tags.class.TagReference
|
||||
subIssues: tracker.class.Issue
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -457,6 +457,7 @@ abstract class MongoAdapterBase implements DbAdapter {
|
||||
res = (await cursor.toArray())[0]
|
||||
} catch (e) {
|
||||
console.error('error during executing cursor in findWithPipeline', clazz, cutObjectArray(query), options, e)
|
||||
throw e
|
||||
}
|
||||
const result = res.results as WithLookup<T>[]
|
||||
const total = options?.total === true ? res.totalCount?.shift()?.count ?? 0 : -1
|
||||
|
Loading…
Reference in New Issue
Block a user