Sistemato il filtro per Provincia
This commit is contained in:
@@ -8,14 +8,6 @@ module.exports = {
|
|||||||
_id: 2,
|
_id: 2,
|
||||||
descr: "Alimentazione",
|
descr: "Alimentazione",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
_id: 30,
|
|
||||||
descr: "Assistenza Legale",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
_id: 1,
|
|
||||||
descr: "Autodeterminazione",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
_id: 1,
|
_id: 1,
|
||||||
descr: "Gruppi Locali",
|
descr: "Gruppi Locali",
|
||||||
@@ -24,10 +16,6 @@ module.exports = {
|
|||||||
_id: 1,
|
_id: 1,
|
||||||
descr: "Istruzione",
|
descr: "Istruzione",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
_id: 1,
|
|
||||||
descr: "Lavoro",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
_id: 1,
|
_id: 1,
|
||||||
descr: "Mobilità",
|
descr: "Mobilità",
|
||||||
@@ -44,13 +32,5 @@ module.exports = {
|
|||||||
_id: 1,
|
_id: 1,
|
||||||
descr: "Tecnologia",
|
descr: "Tecnologia",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
_id: 1,
|
|
||||||
descr: "",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
_id: 1,
|
|
||||||
descr: "",
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1357,6 +1357,11 @@ module.exports = {
|
|||||||
query.push({$match: {$and: params.filtersearch2}});
|
query.push({$match: {$and: params.filtersearch2}});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (params.filtersearch3or) {
|
||||||
|
if (params.filtersearch3or.length > 0) {
|
||||||
|
query.push({$match: {$or: params.filtersearch3or}});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// VECCHIA VERSIONE
|
// VECCHIA VERSIONE
|
||||||
|
|||||||
Reference in New Issue
Block a user