[groupBy] Order by within records (#15404)
Closes https://github.com/twentyhq/core-team-issues/issues/1727 <img width="1415" height="625" alt="image" src="https://github.com/user-attachments/assets/cd132582-4a95-463c-8946-87b77670e023" />
This commit is contained in:
+1
@@ -166,6 +166,7 @@ export class CommonGroupByQueryRunnerService extends CommonBaseQueryRunnerServic
|
||||
groupByDefinitions,
|
||||
selectedFieldsResult: args.selectedFieldsResult,
|
||||
queryRunnerContext,
|
||||
orderByForRecords: args.orderByForRecords ?? [],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ export interface CreateOneQueryArgs {
|
||||
export interface GroupByQueryArgs {
|
||||
filter?: ObjectRecordFilter;
|
||||
orderBy?: OrderByWithGroupBy;
|
||||
orderByForRecords?: ObjectRecordOrderBy;
|
||||
groupBy: ObjectRecordGroupBy;
|
||||
viewId?: string;
|
||||
includeRecords?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user