- fix: La partecipazione agli eventi, non viene salvata correttamente e non visualizzava.
This commit is contained in:
@@ -136,6 +136,7 @@ const textlang = {
|
||||
'ACCETTATO_NOTIFICA_ADMINS': '✅ l\'utente %s è stato accettato a far parte del Gruppo %s (da parte di %s)',
|
||||
'GROUP_REQUEST': 'Richiesta di entrare nel Gruppo %s da parte di %s',
|
||||
"CLICCA_QUI": "CLICCA QUI",
|
||||
"TELEFONO": "Tel",
|
||||
},
|
||||
si: {},
|
||||
es: {
|
||||
@@ -1724,7 +1725,12 @@ module.exports = {
|
||||
|
||||
removeSpecialCharForEmail(myhtml) {
|
||||
let msg = myhtml;
|
||||
msg = msg.replace(/"/g, '\'');
|
||||
try {
|
||||
if (msg)
|
||||
msg = msg.replace(/"/g, '\'');
|
||||
} catch (e) {
|
||||
return msg;
|
||||
}
|
||||
|
||||
return msg;
|
||||
},
|
||||
@@ -2380,6 +2386,13 @@ module.exports = {
|
||||
query = [...query, ...queryadd];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const numtabbacheca = this.getNumTabByTable(shared_consts.TABLES_MYBACHECAS);
|
||||
if (numtab === numtabbacheca) {
|
||||
const queryadd = this.getQueryMyBacheca(idapp);
|
||||
query = [...query, ...queryadd];
|
||||
}
|
||||
*/
|
||||
|
||||
proj = {
|
||||
@@ -2422,11 +2435,13 @@ module.exports = {
|
||||
numpeople: 1,
|
||||
numpeopleLunch: 1,
|
||||
numpeopleDinner: 1,
|
||||
numpeopleDinnerShared: 1,
|
||||
infoevent: 1,
|
||||
msgbooking: 1,
|
||||
booked: 1,
|
||||
datebooked: 1,
|
||||
userId: 1,
|
||||
idapp: 1,
|
||||
}
|
||||
},
|
||||
],
|
||||
@@ -3114,6 +3129,11 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
if (params.table === shared_consts.TABLES_MYBACHECAS) {
|
||||
const myq = this.getQueryMyBacheca(idapp);
|
||||
query.push(myq[0]);
|
||||
}
|
||||
|
||||
if (params.filtersearch3or) {
|
||||
if (params.filtersearch3or.length > 0) {
|
||||
query.push({ $match: { $or: params.filtersearch3or } });
|
||||
@@ -5120,6 +5140,8 @@ module.exports = {
|
||||
let tiposcambio = ''
|
||||
let iconascambio = '🟢';
|
||||
|
||||
let lang = 'it';
|
||||
|
||||
let datastr = '';
|
||||
let dovestr = '';
|
||||
let organizedby = '';
|
||||
@@ -5159,11 +5181,14 @@ module.exports = {
|
||||
}
|
||||
|
||||
let contatto = userorig;
|
||||
let contatto_telegram = '';
|
||||
try {
|
||||
let username_telegram = myrec.profile.username_telegram;
|
||||
|
||||
if (username_telegram)
|
||||
contatto = `@${username_telegram}`;
|
||||
if (username_telegram) {
|
||||
contatto_telegram = `@${username_telegram}`;
|
||||
contatto = contatto_telegram;
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
@@ -5189,11 +5214,11 @@ module.exports = {
|
||||
organizedBy = myrec.organisedBy;
|
||||
contatto = '';
|
||||
}
|
||||
if (myrec.contact_phone) {
|
||||
contatto += '/n' + myrec.contact_phone;
|
||||
if ((myrec.contact_telegram.toLowerCase() !== contatto_telegram.toLowerCase()) || !contatto) {
|
||||
contatto += '\n' + myrec.contact_telegram;
|
||||
}
|
||||
if (myrec.contact_telegram) {
|
||||
contatto += '/n' + myrec.contact_telegram;
|
||||
if (myrec.contact_phone) {
|
||||
contatto += ' - ' + this.get__('TELEFONO', lang) + ': ' + myrec.contact_phone;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5642,7 +5667,10 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
img = 'https://riso.app/upload/profile/SoniaVioletFlame/myskills/1000133092.jpg';
|
||||
if (!this.sulServer()) {
|
||||
// Finta Immagine
|
||||
img = 'https://riso.app/upload/profile/SoniaVioletFlame/myskills/1000133092.jpg';
|
||||
}
|
||||
|
||||
return img;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user