- ver 1.2.47 :
- corretto errore di modifica scheda - aggiunto scraping (fase 1)
This commit is contained in:
@@ -29,6 +29,9 @@ const productSchema = new Schema({
|
||||
idapp: {
|
||||
type: String,
|
||||
},
|
||||
delete: {
|
||||
type: Boolean,
|
||||
},
|
||||
active: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
@@ -462,7 +465,10 @@ module.exports.findAllIdApp = async function (idapp, code, id, all) {
|
||||
}
|
||||
|
||||
if (idapp) {
|
||||
myfind = { idapp };
|
||||
myfind = {
|
||||
idapp,
|
||||
$or: [{ delete: { $exists: false } }, { delete: false }],
|
||||
};
|
||||
}
|
||||
|
||||
if (!all) {
|
||||
|
||||
Reference in New Issue
Block a user