From 718d46e3f9435733741f399603d9b567893880ad Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Wed, 17 Jun 2026 04:01:21 +0000 Subject: [PATCH] Fix search in subdirectories (problem saving search field in URL). --- frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4e60ca2..fe45a74 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -94,7 +94,7 @@ const path: ComputedRef = computed(() => { const isEditorPath = !!(doc && !doc.dir && doc.text) const canonicalBase = !fullPath ? '/' : doc?.dir ? `/${fullPath}/` : `/${fullPath}` const canonicalPath = query - ? rawPath // keep search URL shape untouched + ? `${rawPath}//${query}` // keep search URL shape untouched : canonicalBase const pathList = isEditorPath ? routePathList.slice(0, -1) : routePathList const breadcrumbPathList = routePathList