- nella lista circuiti ora si vedono tutti gli annunci del circuito stesso

This commit is contained in:
Surya Paolo
2025-01-15 15:39:58 +01:00
parent e2dbe08139
commit 7160eee734
20 changed files with 323 additions and 53 deletions

View File

@@ -920,7 +920,11 @@ export default defineComponent({
obj[myfield] = item.value
if (myfield) {
if (item.value !== '' && item.value !== costanti.FILTER_TUTTI) {
filtersearch3and.push({ "profile.mycircuits.circuitname": item.value.name })
let nomecircuito = item.value
if (tools.isObject(item.value))
nomecircuito = item.value.name
filtersearch3and.push({ "profile.mycircuits.circuitname": nomecircuito })
}
}
@@ -990,7 +994,11 @@ export default defineComponent({
});
} else if (myitemsingle === shared_consts.FILTER_USER_NO_TELEGRAM_ID) {
filtercustom.push({ 'profile.teleg_id': { $lt: 1 } });
} else if (myitemsingle === shared_consts.FILTER_FACILITATORE) {
filtercustom.push({
perm: { $bitsAnySet: 0b1000 }
})
// { 'perm': { $bit: { and: } } });
}
})