- 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

@@ -42,7 +42,7 @@ module.exports.executeQueryTable = function (idapp, params) {
module.exports.findAllIdApp = async function (idapp) {
const myfind = { idapp };
return await Publisher.find(myfind);
return await Publisher.find(myfind).sort({ name: 1 }).lean();
};
module.exports.createIndexes((err) => {