- 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

@@ -166,7 +166,7 @@ MyPageSchema.statics.findAllIdApp = async function (idapp) {
return await MyPage.find(myfind, (err, arrrec) => {
return arrrec
});
}).sort({ title: 1 }).lean();
};
MyPageSchema.statics.findOnlyStruttRec = async function (idapp) {
@@ -229,7 +229,7 @@ MyPageSchema.statics.findInternalPages = async function (idapp) {
only_residenti: 1,
}, (err, arrrec) => {
return arrrec
});
}).lean();
};
const MyPage = mongoose.model('MyPage', MyPageSchema);