mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
TSK-987: show filter with 0 value (#2855)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
398182e3e6
commit
2e3dcb348a
@ -76,6 +76,9 @@
|
||||
const value = getObjectValue(filter.key.key, object) ?? undefined
|
||||
targets.set(value, (targets.get(value) ?? 0) + 1)
|
||||
}
|
||||
for (const object of filter.value) {
|
||||
if (!targets.has(object)) targets.set(object, 0)
|
||||
}
|
||||
|
||||
const resultQuery =
|
||||
search !== '' && clazz.sortingKey
|
||||
|
Loading…
Reference in New Issue
Block a user