-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(unified-search): Remove hard-coded search result limit #55434
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
Conversation
We implemented a max entries per result config that ultimately hides possible search results after 25 (default) or configured maximum. This fix implements getting new entries starting from an offset with the allowed max entries. Related: #55434 Signed-off-by: nfebe <[email protected]>
649dbb3 to
a241675
Compare
provokateurin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just squash both commits, then the first commit won't introduce a possible issue.
a241675 to
0ba46bc
Compare
0ba46bc to
0384209
Compare
A change added in #45317 introduced a hard stop (25) that prevents full search results from showing up. If there are more than 25 search results for a query only 25 can be seen. So two main issues: - Only 25 results can be seen in total no matter what. - Breaks web client pagination, which typically adds 5 results per request. Signed-off-by: nfebe <[email protected]>
0384209 to
2053112
Compare
|
cc: @provokateurin |
|
/backport to stable32 |
|
/backport to stable31 |
|
The backport to # Switch to the target branch and update it
git checkout stable31
git pull origin stable31
# Create the new backport branch
git checkout -b backport/55434/stable31
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 20531128
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/55434/stable31Error: Failed to check for changes with origin/stable31: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
A change in #45317 introduced a hard stop (25) that prevents full search results from showing up.
If there are more than 25 search results for a query only 25 can be seen.
So two main issues: