@arsedizioni/ars-utils 21.2.268 → 21.2.269

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.
@@ -3106,6 +3106,7 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
3106
3106
  }
3107
3107
  else {
3108
3108
  newParams = SystemUtils.clone(this.filterParams);
3109
+ newParams.channels = this.filterParams.channels;
3109
3110
  newParams.authors = this.filterParams.authors ?? [];
3110
3111
  if (newParams.authors.length == 0 && this.filterParams.author) {
3111
3112
  newParams.authors = [{ name: '?', value: this.filterParams.author }];
@@ -3117,11 +3118,7 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
3117
3118
  if (newParams.text) {
3118
3119
  newParams.text = ClipperSearchUtils.normalizeTextQuery2(newParams.text);
3119
3120
  }
3120
- }
3121
- // New saerch reset pagination
3122
- if (newSearch) {
3123
- newParams.first = 0;
3124
- this.filterParams.first = 0;
3121
+ newParams.titleOnly = this.filterParams.titleOnly;
3125
3122
  }
3126
3123
  // Setup sort options
3127
3124
  this.sortOptions.set(ClipperUtils.getClipperAvailableSortOptions(this.filterParams.modules, newParams));
@@ -3163,6 +3160,7 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
3163
3160
  newParams.count = 15;
3164
3161
  if (newSearch) {
3165
3162
  newParams.first = 0;
3163
+ this.filterParams.first = 0;
3166
3164
  }
3167
3165
  // Compute a filter description
3168
3166
  this.updateFilterDescription();