diff --git a/src/components/SearchDocumentNavbar.vue b/src/components/SearchDocumentNavbar.vue index 4fc81954d1..58a01c969b 100644 --- a/src/components/SearchDocumentNavbar.vue +++ b/src/components/SearchDocumentNavbar.vue @@ -140,7 +140,7 @@ export default { }, goToDocument (document) { if (document) { - return this.$router.push({ name: 'document', params: document.routerParams }) + return this.$router.push({ name: 'document', params: document.routerParams, query: { q: this.$store.state.search.query } }) } }, async goToPreviousDocument () {