mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-02 13:52:40 +00: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
|
const value = getObjectValue(filter.key.key, object) ?? undefined
|
||||||
targets.set(value, (targets.get(value) ?? 0) + 1)
|
targets.set(value, (targets.get(value) ?? 0) + 1)
|
||||||
}
|
}
|
||||||
|
for (const object of filter.value) {
|
||||||
|
if (!targets.has(object)) targets.set(object, 0)
|
||||||
|
}
|
||||||
|
|
||||||
const resultQuery =
|
const resultQuery =
|
||||||
search !== '' && clazz.sortingKey
|
search !== '' && clazz.sortingKey
|
||||||
|
Loading…
Reference in New Issue
Block a user