- Lista iscritti: aggiunto le note e il flag "Da Contattare"

This commit is contained in:
Surya Paolo
2025-01-14 19:16:57 +01:00
parent 39784aeb0e
commit 5ba86e3641
5 changed files with 20 additions and 3 deletions

View File

@@ -2864,7 +2864,8 @@ module.exports = {
'user.surname': 1,
'user.profile.img': 1,
'user.profile.qualifica': 1,
'user.profile.note': 1,
'user.profile.note': 1,
'profile.da_contattare': 1,
});
if (qa1) query = [...query, ...qa1];
query.push({ $unwind: '$user' });
@@ -2914,7 +2915,8 @@ module.exports = {
'user.surname': 1,
'user.profile.img': 1,
'user.profile.qualifica': 1,
'user.profile.note': 1,
'user.profile.note': 1,
'profile.da_contattare': 1,
});
if (qa1) query = [...query, ...qa1];
query.push({ $unwind: '$user' });