Sistemato il filtro per Provincia
This commit is contained in:
@@ -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: "",
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user