From f2ff937fe4a5782741886ef4920fd0e284775463 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 27 Feb 2020 23:26:00 +0100 Subject: viewer: tag index bugfix Search from the URL requires a strict match instead of a loose match Category search was case sensitive Category + disambiguation was matching like an intersection of both tags instead of being hard-coupled Removed the logs for the release (coming soon) --- viewer/src/components/LdTagInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewer/src/components/LdTagInput.vue') diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue index b2a2c58..bdb07bc 100644 --- a/viewer/src/components/LdTagInput.vue +++ b/viewer/src/components/LdTagInput.vue @@ -55,7 +55,7 @@ export default class LdTagInput extends Vue { } searchTags(filter: string) { - this.filteredTags = IndexFactory.searchTags(this.tagsIndex, filter) + this.filteredTags = IndexFactory.searchTags(this.tagsIndex, filter, false) .filter(newSearch => !this.model.find(currentSearch => currentSearch.tag === newSearch.tag)) .sort((a, b) => b.items.length - a.items.length); } -- cgit v1.2.3