aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorOzoneGrif2020-02-27 23:33:39 +0100
committerGitHub2020-02-27 23:33:39 +0100
commitb202197dcfe930b9f730919a1db217b99f9a9f55 (patch)
tree8a51b6ceb74bd359ac282a7ff3d6a75f0a105de7 /viewer/src/views
parentf09e9d9fa29284bd9ae872efe5ba1d526e349011 (diff)
parentf2ff937fe4a5782741886ef4920fd0e284775463 (diff)
downloadldgallery-b202197dcfe930b9f730919a1db217b99f9a9f55.tar.gz
Merge pull request #167 from pacien/oz-index-bugfix
viewer: tag index bugfix
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/GalleryNavigation.vue1
-rw-r--r--viewer/src/views/PanelLeft.vue2
2 files changed, 1 insertions, 2 deletions
diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue
index fafb2ed..7c6d11b 100644
--- a/viewer/src/views/GalleryNavigation.vue
+++ b/viewer/src/views/GalleryNavigation.vue
@@ -49,7 +49,6 @@ export default class GalleryNavigation extends Vue {
49 49
50 @Watch("path") 50 @Watch("path")
51 pathChanged() { 51 pathChanged() {
52 console.log("Path: ", this.path);
53 this.$galleryStore.setCurrentPath(this.path); 52 this.$galleryStore.setCurrentPath(this.path);
54 } 53 }
55 54
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 }