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 31.0.12 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/stable31 branch 2 times, most recently from 5e27a93 to a4d466f Compare December 15, 2025 20:01
@nfebe nfebe marked this pull request as ready for review December 15, 2025 20:02
@nfebe
Copy link
Contributor

nfebe commented Dec 15, 2025

/compile

@nfebe nfebe enabled auto-merge December 15, 2025 20:02
@nfebe nfebe disabled auto-merge December 15, 2025 20:04
@nfebe nfebe force-pushed the backport/56620/stable31 branch from 81ffbae to 9f5553f Compare December 15, 2025 20:24
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/stable31 branch 3 times, most recently from 9f5553f to 3f15965 Compare December 15, 2025 21:29
@solracsf
Copy link
Member

/compile

Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe merged commit b17459e into stable31 Dec 20, 2025
127 of 130 checks passed
@nfebe nfebe deleted the backport/56620/stable31 branch December 20, 2025 20:29
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.

6 participants