@arsedizioni/ars-utils 21.0.17 → 21.0.19

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.
@@ -2661,7 +2661,6 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
2661
2661
  if (newSearch) {
2662
2662
  newParams.first = 0;
2663
2663
  }
2664
- console.log("-->" + newParams.first);
2665
2664
  // Apply facets
2666
2665
  if (this.snapshot.facets?.fromDate) {
2667
2666
  newParams.fromDate = this.snapshot.facets?.fromDate;
@@ -2703,7 +2702,7 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
2703
2702
  returnModifierInfo: params.returnModifierInfo,
2704
2703
  useModifierInfo: params.useModifierInfo,
2705
2704
  count: 15,
2706
- first: 0
2705
+ first: params.first ?? 0
2707
2706
  };
2708
2707
  }
2709
2708
  /**
@@ -2716,6 +2715,9 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
2716
2715
  this.dialogService.busy('Ricerca in corso...');
2717
2716
  const searchParams = this.prepareFetch(newSearch);
2718
2717
  if (searchParams) {
2718
+ console.log(searchParams.first);
2719
+ var a = this.toReferencesSearchParams(searchParams);
2720
+ console.log(a.first);
2719
2721
  this.clipperService.references(this.toReferencesSearchParams(searchParams))
2720
2722
  .pipe(finalize$1(() => this.dialogService.clearBusy()))
2721
2723
  .subscribe(r => {