- aggiunto anche nei beni, servizi e ospitalità la possibilità di aggiungerli come "Gruppo"

This commit is contained in:
Surya Paolo
2025-01-14 18:34:52 +01:00
parent 45be5038b9
commit 39784aeb0e
9 changed files with 110 additions and 36 deletions

View File

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