@annalib/anna-core 5.2.6 → 5.3.0

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.
@@ -405,8 +405,8 @@ class AnnaDateTimeFormatService {
405
405
  }
406
406
  compare(a, b, isAsc) {
407
407
  if (typeof a == 'string' && typeof b == 'string') {
408
- a = a.toLowerCase();
409
- b = b.toLowerCase();
408
+ a = a == "-" ? "0" : a.toLowerCase();
409
+ b = b == "-" ? "0" : b.toLowerCase();
410
410
  }
411
411
  return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
412
412
  }
@@ -2528,7 +2528,7 @@ class AnnaNonEditableGenericTableComponent {
2528
2528
  // this.emitData();
2529
2529
  this.setInitialRowsForTable();
2530
2530
  this.disableEnableEachColumnTooltipIcon();
2531
- this.annaFilterService.updateStateOfTheCurrentFilterTab(this.annaSortService.columnSortState);
2531
+ this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);
2532
2532
  this.emitData();
2533
2533
  this.closeTooltip();
2534
2534
  }