@arsedizioni/ars-utils 21.1.2 → 21.1.4

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.
@@ -2129,7 +2129,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
2129
2129
  title: a.title,
2130
2130
  documentId: a.documentId,
2131
2131
  uri: a.uri,
2132
- veryRelevant: score > 0.3
2132
+ veryRelevant: score > 0.7
2133
2133
  });
2134
2134
  });
2135
2135
  n.anchors = anchors;
@@ -3759,6 +3759,9 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
3759
3759
  this.filterParams.sourceFromDate = this.sourceInterval.fromAsDate;
3760
3760
  this.filterParams.sourceToDate = this.sourceInterval.toAsDate;
3761
3761
  }
3762
+ if (newSearch) {
3763
+ this.filterParams.first = 0;
3764
+ }
3762
3765
  let newParams = new ClipperSearchParams();
3763
3766
  if ((this.filterParams.modules?.length ?? 0) > 0) {
3764
3767
  newParams.first = this.filterParams.first;