Sistemato il filtro per Provincia

This commit is contained in:
paoloar77
2022-01-24 23:49:02 +01:00
parent 632534eed1
commit 6b8e4af737
2 changed files with 5 additions and 20 deletions

View File

@@ -1357,6 +1357,11 @@ module.exports = {
query.push({$match: {$and: params.filtersearch2}});
}
}
if (params.filtersearch3or) {
if (params.filtersearch3or.length > 0) {
query.push({$match: {$or: params.filtersearch3or}});
}
}
} else {
// VECCHIA VERSIONE