@arsedizioni/ars-utils 19.2.11 → 19.2.13
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.
|
@@ -2996,9 +2996,9 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
2996
2996
|
modules.push({ name: "Gazzette, Bollettini e fonti diverse", shortName: "Gazzette, Bollettini e fonti diverse", value: ClipperModule.GazzetteBollettiniEFontiDiverse });
|
|
2997
2997
|
modules.push({ name: "Modifiche, abrogazioni e rinvii", shortName: "Modifiche, abrogazioni e rinvii", value: ClipperModule.ModificheAbrogazioniERinvii });
|
|
2998
2998
|
modules.push({ name: "Normativa vigente", shortName: "Normativa vigente", value: ClipperModule.NormativaVigente });
|
|
2999
|
+
modules.push({ name: "Giurisprudenza", shortName: "Giurisprudenza", value: ClipperModule.GiurisprudenzaRecente });
|
|
2999
3000
|
modules.push({ name: "Articoli", shortName: "Articoli", value: ClipperModule.Approfondimenti });
|
|
3000
3001
|
modules.push({ name: "Note a sentenza", shortName: "Note a sentenza", value: ClipperModule.Giurisprudenza });
|
|
3001
|
-
modules.push({ name: "Giurisprudenza", shortName: "Giurisprudenza", value: ClipperModule.GiurisprudenzaRecente });
|
|
3002
3002
|
modules.push({ name: "Quesiti", shortName: "Quesiti", value: ClipperModule.QuesitiECasiRisolti });
|
|
3003
3003
|
modules.push({ name: "Scadenze e segnalazioni", shortName: "Scadenze e segnalazioni", value: ClipperModule.ScadenzeESegnalazioni });
|
|
3004
3004
|
return modules;
|
|
@@ -3415,18 +3415,21 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
3415
3415
|
this.filterParams.authors = [];
|
|
3416
3416
|
this.filterParams.type = null;
|
|
3417
3417
|
let authors = [];
|
|
3418
|
+
const sectors = (this.filterParams.sectors?.length ?? 0) > 0
|
|
3419
|
+
? this.filterParams.sectors
|
|
3420
|
+
: this.sectors();
|
|
3418
3421
|
ClipperAuthors.forEach(n => {
|
|
3419
|
-
if (
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
+
if (sectors &&
|
|
3423
|
+
sectors.length > 0 &&
|
|
3424
|
+
sectors.findIndex(x => x.value === n.sectorId) !== -1) {
|
|
3422
3425
|
authors.push(n);
|
|
3423
3426
|
}
|
|
3424
3427
|
});
|
|
3425
3428
|
let types = [];
|
|
3426
3429
|
ClipperSectorTypes.forEach(n => {
|
|
3427
|
-
if (
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
+
if (sectors &&
|
|
3431
|
+
sectors.length > 0 &&
|
|
3432
|
+
sectors.findIndex(x => x.value === n.parentValue) !== -1) {
|
|
3430
3433
|
types.push(n);
|
|
3431
3434
|
}
|
|
3432
3435
|
});
|