aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/PanelLeft.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-02-27 23:26:00 +0100
committerZero~Informatique2020-02-27 23:26:31 +0100
commitf2ff937fe4a5782741886ef4920fd0e284775463 (patch)
tree8a51b6ceb74bd359ac282a7ff3d6a75f0a105de7 /viewer/src/views/PanelLeft.vue
parentf09e9d9fa29284bd9ae872efe5ba1d526e349011 (diff)
downloadldgallery-f2ff937fe4a5782741886ef4920fd0e284775463.tar.gz
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)
Diffstat (limited to 'viewer/src/views/PanelLeft.vue')
-rw-r--r--viewer/src/views/PanelLeft.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue
index 54b9c63..5b3196a 100644
--- a/viewer/src/views/PanelLeft.vue
+++ b/viewer/src/views/PanelLeft.vue
@@ -72,7 +72,7 @@ export default class PanelLeft extends Vue {
72 const query = Object.keys(route.query); 72 const query = Object.keys(route.query);
73 if (query.length > 0) { 73 if (query.length > 0) {
74 const tagsIndex = this.$galleryStore.tagsIndex; 74 const tagsIndex = this.$galleryStore.tagsIndex;
75 this.searchFilters = Object.keys(route.query).flatMap(filter => IndexFactory.searchTags(tagsIndex, filter)); 75 this.searchFilters = Object.keys(route.query).flatMap(filter => IndexFactory.searchTags(tagsIndex, filter, true));
76 this.$galleryStore.setCurrentSearch([...this.searchFilters]); 76 this.$galleryStore.setCurrentSearch([...this.searchFilters]);
77 } 77 }
78 } 78 }