From 7157a9372bbb5c832d2cb238709944215c52f1ce Mon Sep 17 00:00:00 2001 From: manelcecs Date: Tue, 30 Jan 2024 16:30:00 +0100 Subject: [PATCH] Add default filter for searchTotalAmount --- src/domain-services/flows/flow-search-service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/domain-services/flows/flow-search-service.ts b/src/domain-services/flows/flow-search-service.ts index 6ad5338a..9fb870a8 100644 --- a/src/domain-services/flows/flow-search-service.ts +++ b/src/domain-services/flows/flow-search-service.ts @@ -743,6 +743,9 @@ export class FlowSearchService { flowFilters.activeStatus = true; } + // This filter MUST apply always + flowFilters.restricted = false; + // Validate the shortcut filters const shortcutFilter = this.mapShortcutFilters( isPendingFlows,