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): exclude foreign entities from search soup view (#3876)

gbirman9e37aa002458
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 3e649f5ca3..ba74966f23 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
@@ -385,7 +385,10 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {
default: 'all',
tabs: {
all: () => ({
- filters: {},
+ // Temporary: search has no full-text index over foreign entities yet,
+ // so exclude them all from the search view (matching no record id)
+ // until search supports them.
+ filters: { include: { foreignEntityRecordId: [NIL_UUID] } },
clientFilters: {},
}),
},