@sumaris-net/ngx-components 1.21.0-beta8 → 1.21.0-beta9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30239,7 +30239,10 @@
30239
30239
  queryName: withContent ? 'LoadAllWithContent' : 'LoadAll',
30240
30240
  query: withContent ? this.queries.loadAllWithContent : this.queries.loadAll,
30241
30241
  variables: {
30242
- page: Object.assign({ sortBy: 'updateDate', sortDirection: 'desc' }, page),
30242
+ page: Object.assign(Object.assign({ sortBy: 'creationDate' }, page), {
30243
+ // @ts-ignore
30244
+ sortDirection: (page.sortDirection || 'desc').toUpperCase()
30245
+ }),
30243
30246
  filter: filter && filter.asPodObject()
30244
30247
  },
30245
30248
  arrayFieldName: 'data',