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

@@ -8,14 +8,6 @@ module.exports = {
_id: 2,
descr: "Alimentazione",
},
{
_id: 30,
descr: "Assistenza Legale",
},
{
_id: 1,
descr: "Autodeterminazione",
},
{
_id: 1,
descr: "Gruppi Locali",
@@ -24,10 +16,6 @@ module.exports = {
_id: 1,
descr: "Istruzione",
},
{
_id: 1,
descr: "Lavoro",
},
{
_id: 1,
descr: "Mobilità",
@@ -44,13 +32,5 @@ module.exports = {
_id: 1,
descr: "Tecnologia",
},
{
_id: 1,
descr: "",
},
{
_id: 1,
descr: "",
},
]
}

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