@arsedizioni/ars-utils 18.2.309 → 18.2.310
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.
|
@@ -1695,7 +1695,11 @@ class ClipperUtils {
|
|
|
1695
1695
|
sortOptions.push(options[4]);
|
|
1696
1696
|
}
|
|
1697
1697
|
if (modules?.length > 0) {
|
|
1698
|
-
if (
|
|
1698
|
+
if (modules.length === 1 && modules[0].value === ClipperModule.GazzetteBollettiniEFontiDiverse) {
|
|
1699
|
+
sortOptions.push(options[2]);
|
|
1700
|
+
sortOptions.push(options[3]);
|
|
1701
|
+
}
|
|
1702
|
+
else if ((modules.length <= 3 && modules.filter(x => x.value !== ClipperModule.NormativaVigente
|
|
1699
1703
|
&& x.value !== ClipperModule.GazzetteBollettiniEFontiDiverse
|
|
1700
1704
|
&& x.value !== ClipperModule.Giurisprudenza).length === 0)
|
|
1701
1705
|
|| (modules.length === 1 && modules[0].value === ClipperModule.NormativaVigente)
|
|
@@ -1706,10 +1710,6 @@ class ClipperUtils {
|
|
|
1706
1710
|
sortOptions.push(options[3]);
|
|
1707
1711
|
sortOptions.push(options[5]);
|
|
1708
1712
|
}
|
|
1709
|
-
else if (modules.length === 1 && modules[0].value === ClipperModule.GazzetteBollettiniEFontiDiverse) {
|
|
1710
|
-
sortOptions.push(options[2]);
|
|
1711
|
-
sortOptions.push(options[3]);
|
|
1712
|
-
}
|
|
1713
1713
|
else {
|
|
1714
1714
|
sortOptions.push(options[0]);
|
|
1715
1715
|
sortOptions.push(options[1]);
|