@arsedizioni/ars-utils 20.0.7 → 20.0.8
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.
|
@@ -2153,10 +2153,12 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2153
2153
|
const d = this.filterParams.models?.length > 1
|
|
2154
2154
|
? n.publishingDate
|
|
2155
2155
|
: n.date;
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2156
|
+
if (d) {
|
|
2157
|
+
const year = SystemUtils.formatDate(d, DateFormat.LongMonthAndYear)?.toLowerCase();
|
|
2158
|
+
if (group !== year) {
|
|
2159
|
+
n.group = year;
|
|
2160
|
+
group = year;
|
|
2161
|
+
}
|
|
2160
2162
|
}
|
|
2161
2163
|
}
|
|
2162
2164
|
else if (groupByRelevance) {
|