diff --git a/packages/web-app-files/src/components/FilesList/ResourceTable.vue b/packages/web-app-files/src/components/FilesList/ResourceTable.vue index 530b06a683a..72174602f8a 100644 --- a/packages/web-app-files/src/components/FilesList/ResourceTable.vue +++ b/packages/web-app-files/src/components/FilesList/ResourceTable.vue @@ -632,9 +632,10 @@ export default defineComponent({ shouldDisplayThumbnails(item) { return this.areThumbnailsDisplayed && !isResourceTxtFileAlmostEmpty(item) }, - getTagLink(tag) { + getTagLink(tag: string) { + const currentTerm = unref(this.$router.currentRoute).query?.term return createLocationCommon('files-common-search', { - query: { term: `Tags:"${tag}"`, provider: 'files.sdk' } + query: { provider: 'files.sdk', q_tags: tag, ...(currentTerm && { term: currentTerm }) } }) }, getTagComponentAttrs(tag) { diff --git a/packages/web-app-files/src/components/Search/List.vue b/packages/web-app-files/src/components/Search/List.vue index c31c0ba814c..f7307de6417 100644 --- a/packages/web-app-files/src/components/Search/List.vue +++ b/packages/web-app-files/src/components/Search/List.vue @@ -2,6 +2,28 @@
+
+ + + + +