Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented May 12, 2025

Summary

Maintain existing filters (like date and person filters) while loading more results for a specific provider.

Fixes #52081

@nfebe nfebe force-pushed the fix/unified-search-filter-reset-on-load-more branch 4 times, most recently from 9c7dfbf to 75068cb Compare May 13, 2025 12:32
@nfebe nfebe marked this pull request as ready for review May 13, 2025 12:33
@nfebe nfebe requested a review from a team as a code owner May 13, 2025 12:33
@nfebe nfebe requested review from sorbaugh, susnux and szaimen and removed request for a team May 13, 2025 12:33
@nfebe nfebe enabled auto-merge May 13, 2025 12:33
@nfebe
Copy link
Contributor Author

nfebe commented May 13, 2025

/compile

@nfebe nfebe requested review from artonge and skjnldsv May 13, 2025 12:34
@szaimen szaimen removed their request for review May 13, 2025 12:36
@nfebe nfebe force-pushed the fix/unified-search-filter-reset-on-load-more branch 5 times, most recently from b425369 to ca33261 Compare May 15, 2025 13:03
@nfebe
Copy link
Contributor Author

nfebe commented May 15, 2025

/compile

@nextcloud-command nextcloud-command requested a review from a team as a code owner May 15, 2025 13:19
@nfebe nfebe force-pushed the fix/unified-search-filter-reset-on-load-more branch from bd8fd2f to 41f6514 Compare May 16, 2025 09:34
@nfebe
Copy link
Contributor Author

nfebe commented May 16, 2025

/backport to stable31

@nfebe
Copy link
Contributor Author

nfebe commented May 16, 2025

/backport to stable30

@nfebe
Copy link
Contributor Author

nfebe commented May 16, 2025

/backport to stable29

@nfebe nfebe force-pushed the fix/unified-search-filter-reset-on-load-more branch from 41f6514 to 64b475a Compare May 16, 2025 09:44
nfebe added 2 commits May 16, 2025 10:52
…results

Maintain existing non-provider filters (like date and person filters) while
loading more results for a specific provider.

This now works as the provider data passed to the `newResults` array after search
is built dynamically and not manually, the result of a manual build was that the
`provider.filters` properpy which is used in the `find` method was being left out
in the providers pushed into the results array.

Fixes #52081

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Before now the result limit is never reset until the page is refreshed.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe nfebe force-pushed the fix/unified-search-filter-reset-on-load-more branch from 64b475a to 04f227a Compare May 16, 2025 09:52
@nfebe
Copy link
Contributor Author

nfebe commented May 16, 2025

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe nfebe merged commit 6b83b89 into master May 16, 2025
134 of 136 checks passed
@nfebe nfebe deleted the fix/unified-search-filter-reset-on-load-more branch May 16, 2025 10:28
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Filter in unified search are not working correctly when more results were loaded

5 participants