Skip to content

Commit 241e26c

Browse files
Merge pull request #58 from hivetown/fix/unitProducts
Fix/unit products
2 parents 30a2509 + d5cea65 commit 241e26c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gateways/ProducerProductGateway.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ export class ProducerProductGateway {
9797
const qb = this.repository
9898
.createQueryBuilder('producerProduct')
9999
.select('*')
100-
.where({ productionUnit: { id: productionUnitId } });
100+
.where({ productionUnit: { id: productionUnitId } })
101+
.andWhere('producerProduct.deleted_at is null');
101102

102103
const totalItemsQb = qb.clone();
103104

0 commit comments

Comments
 (0)