forked from geolba/tethys.frontend
- better facet filtering
This commit is contained in:
parent
156bf0ae26
commit
1660bc6830
6 changed files with 48 additions and 6 deletions
|
@ -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 = "";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue