- better facet filtering

This commit is contained in:
Arno Kaimbacher 2021-11-12 15:49:27 +01:00
parent 156bf0ae26
commit 1660bc6830
6 changed files with 48 additions and 6 deletions

View file

@ -67,9 +67,16 @@ export interface FacetInstance {
// buckets: Array<FacetItem>;
}
export interface FacetItem {
export class FacetItem {
val: string;
count: number;
category: string;
active: boolean;
constructor(value: string, count: number) {
this.val = value;
this.count = count;
this.active = false;
this.category = "";
}
}