diff --git a/components/rmrk/Gallery/Search/SearchBar.vue b/components/rmrk/Gallery/Search/SearchBar.vue index 007c416050..0e3fc658fd 100644 --- a/components/rmrk/Gallery/Search/SearchBar.vue +++ b/components/rmrk/Gallery/Search/SearchBar.vue @@ -663,7 +663,7 @@ export default class SearchBar extends mixins( query: { page: '1', ...this.$route.query, - search: this.searchQuery, + search: this.searchQuery || undefined, [key]: value, [key2]: value2, }, diff --git a/components/rmrk/Gallery/Search/SearchBarCollection.vue b/components/rmrk/Gallery/Search/SearchBarCollection.vue index a540599a89..d74e5d602b 100644 --- a/components/rmrk/Gallery/Search/SearchBarCollection.vue +++ b/components/rmrk/Gallery/Search/SearchBarCollection.vue @@ -183,7 +183,7 @@ export default class SearchBar extends mixins(KeyboardEventsMixin) { path: String(this.$route.path), query: { ...this.$route.query, - search: this.searchQuery, + search: this.searchQuery || undefined, [key]: value, }, })