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
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/stable30 branch from 6743bbc to e8c165b Compare December 15, 2025 22:29
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/stable30 branch from e8c165b to 0a1d322 Compare December 15, 2025 23:04
@nfebe nfebe marked this pull request as ready for review December 15, 2025 23:06
@nfebe
Copy link
Contributor

nfebe commented Dec 15, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
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.

3 participants