This commit is contained in:
2026-01-25 16:26:47 +03:30
parent 55856a40f1
commit b85ae3604c
7 changed files with 287 additions and 225 deletions
@@ -45,7 +45,7 @@ export class ProductRepository extends EntityRepository<Product> {
limit,
offset,
orderBy: { [orderBy]: order.toLowerCase() as 'asc' | 'desc' },
populate: ['category'],
populate: ['attributes', 'attributes.values'],
});
const totalPages = Math.ceil(total / limit);
@@ -60,6 +60,5 @@ export class ProductRepository extends EntityRepository<Product> {
},
};
}
}