Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(search): local client side filter (#2235)

gbirman9def0a0e9cd4
diff --git a/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts b/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts
index c556687e45..a8c54e538d 100644
--- a/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts
+++ b/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts
@@ -288,7 +288,7 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {
document_filters: { document_ids: EXCLUDE },
project_filters: { owners: [ctx.userId] },
},
- clientFilters: {},
+ clientFilters: { and: ['folders'] },
};
},
all: () => ({
@@ -299,7 +299,7 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {
document_filters: { document_ids: EXCLUDE },
project_filters: {},
},
- clientFilters: {},
+ clientFilters: { and: ['folders'] },
}),
},
},