- 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:58 +01:00
parent 37970c5c91
commit 08a089881c
23 changed files with 484 additions and 94 deletions

View File

@@ -211,6 +211,8 @@ export const shared_consts = {
FILTER_USER_SENZA_CIRCUITO: 67108864,
FILTER_USER_CON_CIRCUITO: 134217728,
FILTER_USER_ONLINE_6_MESI: 268435456,
FILTER_NOTE: 536870912,
FILTER_SENZA_NOTE: 1073741824,
OPTIONS_SEARCH_ONLY_FULL_WORDS: 1,
OPTIONS_SEARCH_USER_ONLY_FULL_WORDS: 2,
@@ -335,6 +337,14 @@ export const shared_consts = {
label: 'Chat "BOT RISO" eliminata',
value: 1024, //shared_consts.FILTER_USER_TELEGRAM_BLOCKED
},
{
label: 'Con Note Facilitatore',
value: 536870912, //shared_consts.FILTER_NOTE
},
{
label: 'Senza Note Facilitatore',
value: 1073741824, //shared_consts.FILTER_SENZA_NOTE
},
],
@@ -2180,6 +2190,14 @@ export const shared_consts = {
}
}
const proj_common = {
'mygrp.groupname': 1,
'mygrp.title': 1,
'mygrp.photos': 1,
}
proj = Object.assign({}, proj, proj_common);
if (proj_add)
proj = Object.assign({}, proj, proj_add);
@@ -2211,6 +2229,7 @@ export const shared_consts = {
'profile.mygroups': 1,
'profile.mycircuits': 1,
'profile.qualifica': 1,
'profile.note': 1,
'profile.resid_province': 1,
'profile.resid_card': 1,
'profile.username_telegram': 1,