product populate

This commit is contained in:
2026-01-29 10:28:06 +03:30
parent d6c3f17aea
commit 3af0f7a530
3 changed files with 27 additions and 7 deletions
@@ -45,7 +45,7 @@ export class ProductRepository extends EntityRepository<Product> {
limit,
offset,
orderBy: { [orderBy]: order.toLowerCase() as 'asc' | 'desc' },
populate: ['attributes', 'attributes.values'],
populate: [],
});
const totalPages = Math.ceil(total / limit);