- Cataloghi aggiornamento...

This commit is contained in:
Surya Paolo
2025-02-11 18:57:57 +01:00
parent f674791dbc
commit b643c7cdc3
7 changed files with 88 additions and 13 deletions

View File

@@ -682,7 +682,7 @@ router.post('/getobj', authenticate_noerror, async (req, res) => {
perm: { $bitsAnySet: 0b10000 },
},
{ username: 1, name: 1, surname: 1 }
).lean();
).sort({ username: 1 }).lean();
}
// Invia la risposta
@@ -905,8 +905,6 @@ async function duplicatePage(pageId, newpath) {
}
}
let newelem = { ...elem };
if (catalogo)
elem.catalogo = { ...catalogo };