@arsedizioni/ars-utils 18.2.287 → 18.2.288

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.
@@ -1691,7 +1691,7 @@ class ClipperUtils {
1691
1691
  if (params && ClipperSearchUtils.isTextQuery(params)) {
1692
1692
  sortOptions.push(options[4]);
1693
1693
  }
1694
- if (modules) {
1694
+ if (modules?.length > 0) {
1695
1695
  if ((modules.length <= 3 && modules.filter(x => x.value !== ClipperModule.NormativaVigente
1696
1696
  && x.value !== ClipperModule.GazzetteBollettiniEFontiDiverse
1697
1697
  && x.value !== ClipperModule.Giurisprudenza).length === 0)