From 61ebc6e2517c6c21dab3eb2234037e45c1213450 Mon Sep 17 00:00:00 2001 From: nfebe Date: Mon, 24 Nov 2025 15:07:24 +0100 Subject: [PATCH] fix(unified-search): prevent provider disabling on content filter apply 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 --- .../UnifiedSearch/UnifiedSearchModal.vue | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/core/src/components/UnifiedSearch/UnifiedSearchModal.vue b/core/src/components/UnifiedSearch/UnifiedSearchModal.vue index 4c3a0fd5822..4d13cb63bc2 100644 --- a/core/src/components/UnifiedSearch/UnifiedSearchModal.vue +++ b/core/src/components/UnifiedSearch/UnifiedSearchModal.vue @@ -24,13 +24,13 @@
- + @@ -47,7 +47,7 @@ {{ provider.name }} - + @@ -567,10 +567,6 @@ export default defineComponent({ this.filters[existingPersonFilter].name = person.displayName } - this.providers.forEach(async (provider, index) => { - this.providers[index].disabled = !(await this.providerIsCompatibleWithFilters(provider, ['person'])) - }) - this.debouncedFind(this.searchQuery) unifiedSearchLogger.debug('Person filter applied', { person }) }, @@ -628,7 +624,6 @@ export default defineComponent({ for (let i = 0; i < this.filters.length; i++) { if (this.filters[i].id === filter.id) { this.filters.splice(i, 1) - this.enableAllProviders() break } } @@ -669,9 +664,6 @@ export default defineComponent({ this.filters.push(this.dateFilter) } - this.providers.forEach(async (provider, index) => { - this.providers[index].disabled = !(await this.providerIsCompatibleWithFilters(provider, ['since', 'until'])) - }) this.debouncedFind(this.searchQuery) },