You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A failed search shows "No results found" and the same term can't be searched again #4361
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
When a search request fails, the search preview and the results page just say "No results found", there's no error message. And submitting the same term again (Enter or the search icon) doesn't search again, so there's no way to retry except reloading the page. Same when results are just outdated: searching the same term again doesn't fetch the current state.
Cause: packages/web-app-search/src/views/List.vue catches the error and sets an empty result. The results list only searches again when the route query changes (packages/web-app-files/src/components/Search/List.vue), and submitting the same term pushes an identical route.
Reproduction Steps
Make the search REPORT on /dav/spaces/ fail with a 500 (e.g. devtools request blocking)
Type a term that has results and press Enter
Let requests succeed again, focus the search field and press Enter (or click the search icon)
Expected Outcome
A failed search shows an error message. Submitting a search (Enter or search icon) always runs it again, also with the same term, e.g. to retry or to get the current state.
Actual Outcome
"No results" in the preview and "No results found" on the page, no error message. Submitting the same term again sends no request.
Activity