@acorex/platform 19.1.12 → 19.1.13

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.
@@ -788,7 +788,9 @@ class AXPEntityMasterListViewModel {
788
788
  }
789
789
  applyFilterAndSort() {
790
790
  this.dataSource.clearFilter();
791
- this.dataSource.sort(...this.sortedFields().map((s) => ({ dir: s.dir, field: s.name })));
791
+ this.dataSource.sort(...this.sortedFields()
792
+ .filter((sf) => sf.dir)
793
+ .map((s) => ({ dir: s.dir, field: s.name })));
792
794
  const allFilters = [
793
795
  this.inlineFilters.filters?.length && this.inlineFilters,
794
796
  this.simpleFilters().filters?.length && this.simpleFilters(),