@arsedizioni/ars-utils 18.2.188 → 18.2.189

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.
@@ -885,7 +885,6 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
885
885
  this.scrollerId = 'scroller_' + SystemUtils.generateUUID();
886
886
  this.restorableId = null;
887
887
  this.hasFacets = signal(false);
888
- this.hasTags = signal(false);
889
888
  this.hasCalendar = signal(false);
890
889
  this.hasRegions = () => {
891
890
  return (this.filterParams.sectors?.filter(n => n.value === 'LR').length ?? 0) > 0;
@@ -1164,16 +1163,13 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
1164
1163
  }
1165
1164
  if (facets || months || month) {
1166
1165
  this.hasFacets.set(false);
1167
- this.hasTags.set(false);
1168
1166
  this.hasCalendar.set(false);
1169
1167
  if (facets) {
1170
1168
  this.hasFacets.set(facets.total > 0);
1171
- this.hasTags.set(facets.tags?.length > 0);
1172
1169
  this.facets?.update(facets.facets, facets.interval);
1173
1170
  if (this.snapshot) {
1174
1171
  this.snapshot.facets = this.facets.save();
1175
1172
  this.snapshot.facets.hasTooManyResults = this.snapshot.total >= 1000;
1176
- this.snapshot.tags = facets.tags;
1177
1173
  }
1178
1174
  }
1179
1175
  else if (months || month) {
@@ -1346,7 +1342,6 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
1346
1342
  this.facets.restore(data.facets);
1347
1343
  }
1348
1344
  this.hasFacets.set(this.snapshot.facets?.hasFacets);
1349
- this.hasTags.set(this.snapshot.tags?.length > 0);
1350
1345
  if (this.paginator && data.paginator) {
1351
1346
  this.paginator.pageIndex = data.paginator.page;
1352
1347
  this.paginator.pageSize = data.paginator.size;