diff options
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/registry/registry_search.vue')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/registry/registry_search.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/registry/registry_search.vue b/app/assets/javascripts/vue_shared/components/registry/registry_search.vue index 730e9e1c6cc..e41cd344b3f 100644 --- a/app/assets/javascripts/vue_shared/components/registry/registry_search.vue +++ b/app/assets/javascripts/vue_shared/components/registry/registry_search.vue @@ -60,7 +60,13 @@ export default { methods: { generateQueryData({ sorting = {}, filter = [] } = {}) { // Ensure that we clean up the query when we remove a token from the search - const result = { ...this.baselineQueryStringFilters, ...sorting, search: [] }; + const result = { + ...this.baselineQueryStringFilters, + ...sorting, + search: [], + after: null, + before: null, + }; filter.forEach((f) => { if (f.type === FILTERED_SEARCH_TERM) { |