- aggiornato scheda e rigenera lista

- corretto filtro sulla Collana
This commit is contained in:
Surya Paolo
2025-04-29 02:30:19 +02:00
parent 95793fd73f
commit 3d4f8b0d04
12 changed files with 318 additions and 44 deletions

View File

@@ -64,7 +64,7 @@ CatProdSchema.statics.updateCatDeleteEmpty = async function (idapp) {
{ $match: { idapp } },
{
$lookup: {
from: 'productinfos', // Nome della tua collezione productInfo
from: 'productinfos',
localField: '_id',
foreignField: 'idCatProds',
as: 'products'