From 95c7c8ba7b8c7c4098f1f8d7fe1a90e82af1491d Mon Sep 17 00:00:00 2001 From: frankporras Date: Wed, 19 Jun 2024 11:12:53 +0200 Subject: [PATCH] Fixing facetedsearch --- src/components/face-category/FacetCategory.ts | 4 +- .../face-category/facet-category.vue | 3 - src/components/vs-input/vs-input.ts | 12 +- src/constants.ts | 12 +- src/models/solr.ts | 8 +- src/services/dataset.service.ts | 242 +++++++++--------- .../search-view/search-view-component.ts | 171 ++++++++----- vue.config.cjs | 4 +- 8 files changed, 246 insertions(+), 210 deletions(-) diff --git a/src/components/face-category/FacetCategory.ts b/src/components/face-category/FacetCategory.ts index 7669705..3161dcf 100644 --- a/src/components/face-category/FacetCategory.ts +++ b/src/components/face-category/FacetCategory.ts @@ -20,7 +20,7 @@ export default class FacetCategory extends Vue { filterName!: string; get alias(): string { - console.log("filterName:", this.filterName); + // console.log("filterName:", this.filterName); return this.filterName == "datatype" ? "doctype" : this.filterName; } @@ -54,7 +54,7 @@ export default class FacetCategory extends Vue { @Emit("filter") activateItem(filterItem: FacetItem): FacetItem { - // console.log(filterItem); + // console.log("ActivateItem"); filterItem.category = this.alias; filterItem.active = true; // this.$emit("filter", filterItem); diff --git a/src/components/face-category/facet-category.vue b/src/components/face-category/facet-category.vue index bc278c8..4dd196d 100644 --- a/src/components/face-category/facet-category.vue +++ b/src/components/face-category/facet-category.vue @@ -8,9 +8,6 @@