Skip to content

fix(unified_search): Maintain filters when loading more results - #52772

Merged
nfebe merged 3 commits into
masterfrom
fix/unified-search-filter-reset-on-load-more
May 16, 2025
Merged

fix(unified_search): Maintain filters when loading more results#52772
nfebe merged 3 commits into
masterfrom
fix/unified-search-filter-reset-on-load-more

Conversation

@nfebe

@nfebenfebe commented May 12, 2025

Copy link
Copy Markdown
Contributor

Summary

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

Fixes#52081

@nfebe
nfebeforce-pushed the fix/unified-search-filter-reset-on-load-more branch 4 times, most recently from 9c7dfbf to 75068cbCompareMay 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 ownerMay 13, 2025 12:33
@nfebe
nfebe requested review from sorbaugh, susnux and szaimen and removed request for a teamMay 13, 2025 12:33
@nfebe
nfebe enabled auto-merge May 13, 2025 12:33
@nfebe

Copy link
Copy Markdown
ContributorAuthor

/compile

@nfebe
nfebe requested review from artonge and skjnldsvMay 13, 2025 12:34
@szaimen
szaimen removed their request for review May 13, 2025 12:36
@nfebe
nfebeforce-pushed the fix/unified-search-filter-reset-on-load-more branch 5 times, most recently from b425369 to ca33261CompareMay 15, 2025 13:03
@nfebe

Copy link
Copy Markdown
ContributorAuthor

/compile

@nextcloud-command
nextcloud-command requested a review from a team as a code ownerMay 15, 2025 13:19
@nfebe
nfebeforce-pushed the fix/unified-search-filter-reset-on-load-more branch from bd8fd2f to 41f6514CompareMay 16, 2025 09:34
@nfebe

Copy link
Copy Markdown
ContributorAuthor

/backport to stable31

@nfebe

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

@nfebe

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

@nfebe
nfebeforce-pushed the fix/unified-search-filter-reset-on-load-more branch from 41f6514 to 64b475aCompareMay 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
nfebeforce-pushed the fix/unified-search-filter-reset-on-load-more branch from 64b475a to 04f227aCompareMay 16, 2025 09:52
@nfebe

Copy link
Copy Markdown
ContributorAuthor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for freeto 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

4 participants

@nfebe@susnux@skjnldsv@nextcloud-command