-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot share with short user names #31058
Comments
GitMate.io thinks possibly related issues are #16903 (Sharing. It is not allowed to share a file with a user named with only one character), #2222 (Can't change shared Calendar entry by another user), #2219 (Can't change shared file by another user), #9544 (Can't Change Full Name for Users), and #29279 (cannot share with a user that has the same name as a group). |
config.php: |
what is the default unless specified @VicDeo ? did this change recently? we should keep the same behaviour - but we have some instances that want to be able to control this to stop expensive searches from happening. |
The default is 4 now. Still, I think we should let the frontend send a request to the server even for a single char. (this is especially important for chinese names that usually have 2 to 3 characters) Then the backend can still do exact matches for these but restrict partial matches for minimum chars. |
@tomneedham default value is |
As per chat I recommend:
Why:
|
@VicDeo so remove the option usage from the different UI parts and make it start at one character again. Let the backend enforce the limit. |
PR here: #31067 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps
Expected result
Exact match found.
Actual result
The search did not start.
Version
stable10 9b49b21
@VicDeo @tomneedham @pmaier1 I think we should let the frontend send any search query starting with one character. However the backend will only return either exact matches for the number of characters, or provide a list of partial matches if the search string has the minimum number of configured characters as per #30313
The text was updated successfully, but these errors were encountered: