diff --git a/packages/server/src/sdk/app/rows/search/internal/sqs.ts b/packages/server/src/sdk/app/rows/search/internal/sqs.ts index e1ccb4fb85..a5967acfb0 100644 --- a/packages/server/src/sdk/app/rows/search/internal/sqs.ts +++ b/packages/server/src/sdk/app/rows/search/internal/sqs.ts @@ -127,7 +127,7 @@ async function buildInternalFieldList( } } - if (isView && !helpers.views.isCalculationView(source)) { + if (!isView || !helpers.views.isCalculationView(source)) { for (const field of ["_id", "_rev", "tableId"]) { fieldList.push(field) }