osl-base-extended 1.0.28 → 1.0.29

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.
@@ -2551,11 +2551,11 @@ class OslAutocompleteLister {
2551
2551
  this.cd.markForCheck();
2552
2552
  if (!res.isSuccessful)
2553
2553
  return;
2554
- this.datasource = res.result;
2554
+ this.datasource = res.result?.data || [];
2555
2555
  setTimeout(() => {
2556
2556
  this.loader = false;
2557
2557
  }, 20);
2558
- this.recordCount = Number(res.headers?.get('recordCount') || 0);
2558
+ this.recordCount = res.result?.recordsFiltered;
2559
2559
  }
2560
2560
  onPageChange(event) {
2561
2561
  this.search(event.searchValue, event.page, event.pageSize);