Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Dec 10, 2025

Backport of #56620

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot requested review from artonge, nfebe and susnux December 10, 2025 19:08
@backportbot backportbot bot added 3. to review Waiting for reviews feature: search labels Dec 10, 2025
@backportbot backportbot bot added this to the Nextcloud 32.0.3 milestone Dec 10, 2025
When date range or person filters were applied, providers that didn't
support these filters were automatically disabled in the UI. This made
the in-folder filter appear auto-applied and prevented users from
searching non-compatible providers.

Remove automatic provider disabling logic from updateDateFilter(),
applyPersonFilter(), and removeFilter(). Content filters now apply only
to compatible providers via existing compatibility checks while keeping
all providers available for selection.

Signed-off-by: nfebe <[email protected]>
@nfebe nfebe force-pushed the backport/56620/stable32 branch from db30d3c to b88b67f Compare December 15, 2025 18:48
@nfebe nfebe marked this pull request as ready for review December 15, 2025 18:48
@nfebe nfebe requested a review from a team as a code owner December 15, 2025 18:48
@nfebe nfebe requested review from skjnldsv and sorbaugh and removed request for a team December 15, 2025 18:48
@nfebe
Copy link
Contributor

nfebe commented Dec 15, 2025

/compile

Show results from providers that don't support active content filters
(date/person) in a separate "Additional results" section with a note
explaining that some filters may have been ignored.

Changes:
- Add computed properties to separate filtered/unfiltered results
- Track filter compatibility using baseProvider for searchFrom providers
- Deduplicate results by resourceUrl across sections
- Skip in-folder results when at root to avoid duplicating Files results
- Fix providerIsCompatibleWithFilters to check correct filter properties
- Add styling for the unfiltered results section

Signed-off-by: nfebe <[email protected]>
@nfebe nfebe force-pushed the backport/56620/stable32 branch from b88b67f to 8462564 Compare December 15, 2025 18:57
@nfebe
Copy link
Contributor

nfebe commented Dec 15, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe merged commit fb249c2 into stable32 Dec 15, 2025
125 checks passed
@nfebe nfebe deleted the backport/56620/stable32 branch December 15, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants