Skip to content

Commit

Permalink
fix(core): Do not include deleted variants when indexing productInStock
Browse files Browse the repository at this point in the history
  • Loading branch information
kyunal committed Oct 5, 2024
1 parent 053348a commit 91d126a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ export class IndexerController {
loadEagerRelations: false,
where: {
productId: variant.productId,
deletedAt: IsNull(),
},
})
.then(_variants =>
Expand Down

0 comments on commit 91d126a

Please sign in to comment.