perspective sorting

This commit is contained in:
Jan Prochazka
2022-07-31 12:10:56 +02:00
parent 7694864fe7
commit 452dba7f32
8 changed files with 230 additions and 32 deletions

View File

@@ -109,10 +109,10 @@ export class PerspectiveDataLoader {
},
})),
selectAll: !dataColumns,
orderBy: orderBy?.map(columnName => ({
orderBy: orderBy?.map(({ columnName, order }) => ({
exprType: 'column',
columnName,
direction: 'ASC',
direction: order,
source: {
name: { schemaName, pureName },
},