@arsedizioni/ars-utils 18.2.189 → 18.2.191

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.
@@ -1168,7 +1168,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
1168
1168
  this.hasFacets.set(facets.total > 0);
1169
1169
  this.facets?.update(facets.facets, facets.interval);
1170
1170
  if (this.snapshot) {
1171
- this.snapshot.facets = this.facets.save();
1171
+ this.snapshot.facets = this.facets?.save();
1172
1172
  this.snapshot.facets.hasTooManyResults = this.snapshot.total >= 1000;
1173
1173
  }
1174
1174
  }