@arsedizioni/ars-utils 19.2.6 → 19.2.7

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
  }
2130
2130
  }
2131
2131
  if (groupByYear) {
2132
- const d = params.sortMode === ClipperSort.SourceDateAsc
2132
+ const d = this.filterParams.models?.length > 1
2133
2133
  ? n.publishingDate
2134
2134
  : n.date;
2135
2135
  const year = SystemUtils.formatDate(d, DateFormat.LongMonthAndYear).toLowerCase();