ver: 1.1.21:
- Lista dei Cataloghi - Gestione Cataloghi in base alla configurazione
This commit is contained in:
@@ -525,10 +525,6 @@ class ImageDownloader {
|
||||
}
|
||||
}
|
||||
|
||||
// Funzione per implementare il ritardo tra i tentativi
|
||||
function sleep(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
MYAPPS: [],
|
||||
@@ -2873,8 +2869,8 @@ module.exports = {
|
||||
'user.surname': 1,
|
||||
'user.profile.img': 1,
|
||||
'user.profile.qualifica': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
});
|
||||
if (qa1) query = [...query, ...qa1];
|
||||
query.push({ $unwind: '$user' });
|
||||
@@ -2924,8 +2920,8 @@ module.exports = {
|
||||
'user.surname': 1,
|
||||
'user.profile.img': 1,
|
||||
'user.profile.qualifica': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
});
|
||||
if (qa1) query = [...query, ...qa1];
|
||||
query.push({ $unwind: '$user' });
|
||||
@@ -5342,7 +5338,7 @@ module.exports = {
|
||||
descrperNotif = i18n.__('NEW_EVENT', userorig, datastr, mydescr, dovestr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
let contatto = userorig;
|
||||
let contatto_telegram = '';
|
||||
try {
|
||||
@@ -5955,7 +5951,12 @@ module.exports = {
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// Funzione per implementare il ritardo tra i tentativi
|
||||
sleep(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
@@ -267,11 +267,16 @@ module.exports = {
|
||||
{
|
||||
table: 'adtypegoods',
|
||||
keyOFF: 'descr',
|
||||
}, {
|
||||
},
|
||||
{
|
||||
table: 'catalogs',
|
||||
key: 'title',
|
||||
},
|
||||
{
|
||||
table: 'adtypes',
|
||||
keyOFF: 'descr',
|
||||
},
|
||||
{ table: 'catgrps', key: 'descr' },
|
||||
{ table: 'catgrps' },
|
||||
{
|
||||
table: 'contribtypes',
|
||||
keyOLD: 'descr',
|
||||
@@ -282,7 +287,8 @@ module.exports = {
|
||||
{ table: 'provinces', key: 'descr' },
|
||||
{ table: 'sectorgoods', keyOLD: 'descr' },
|
||||
{ table: 'sectors', keyOLD: 'descr' },
|
||||
{ table: 'skills', key: 'descr', key2: 'idSector' },
|
||||
// { table: 'skills', key: 'descr', key2: 'idSector' },
|
||||
{ table: 'skills' },
|
||||
{ table: 'statusSkills', keyOLD: 'descr' },
|
||||
// { table: 'catais', key: 'descr' },
|
||||
// { table: 'queryais', key: 'descr' },
|
||||
|
||||
Reference in New Issue
Block a user