Fix COUNT operation on view group aggregate header (#9789)
Fixes [sentry](https://twenty-v7.sentry.io/issues/6235128210/?referrer=discord¬ification_uuid=898a081c-f8c7-42b8-b598-7660470a1975&alert_rule_id=15135099&alert_type=issue) In a [previous work](https://github.com/twentyhq/twenty/pull/9749) I set the default field to run totalCount aggregate operation on to the "name" field, which I was wrong think was present on all objects.
This commit is contained in:
@ -0,0 +1 @@
|
||||
export const FIELD_FOR_TOTAL_COUNT_AGGREGATE_OPERATION = 'id';
|
||||
@ -1,3 +1,4 @@
|
||||
export * from './constants/FieldForTotalCountAggregateOperation';
|
||||
export * from './constants/TwentyCompaniesBaseUrl';
|
||||
export * from './constants/TwentyIconsBaseUrl';
|
||||
export * from './types/FieldMetadataType';
|
||||
@ -5,3 +6,4 @@ export * from './utils/fieldMetadata/isFieldMetadataDateKind';
|
||||
export * from './utils/image/getImageAbsoluteURI';
|
||||
export * from './utils/strings';
|
||||
export * from './workspace';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user