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
[Bug]: "Search everywhere" returns no result if search term is short #56859
When the search term is short (< 3 char), the search everywhere page (/apps/files/search?query=xx) shows no result instead of a good error feedback. This can cause very confusing behavior.
Take this screen recording from the demo site for example,
User searched for "ne" => got result => good
User clicked "search everywhere", probably expect to get more result => instead, saw a "no result" screen
User enter more chars and the result behave normally
Recording.2025-12-04.191929.mp4
Steps to reproduce
Navigate to /apps/files/search?query=xx and observe that it will never return a result no matter what the query is
Expected behavior
Not really sure,
Maybe we should show another error message, but it will still be confusing consider that clicking "search everywhere" erase the result.
Or maybe we should just search anyway
Additional info
I discovered this issue because I'm dealing with CJK characters, I also noticed that an PR #21777 a while ago reduced search limit to 2 chars, is there any reason that this page has the 3-char limit?
As for the env, It's reproducible on the demo site, so the env is whatever that env is.
Activity
Summon528 commentedon Dec 5, 2025
A solution could be
szaimen commentedon Dec 5, 2025
Hi, which nc version did you test this on?
Summon528 commentedon Dec 5, 2025
I'm personally on NC 32.0.2, but the recording is from https://demo1.nextcloud.com/, not sure what version that's on