Skip to content

Commit

Permalink
fix(core): Do not include deleted variants when indexing productInSto…
Browse files Browse the repository at this point in the history
…ck (#3110)

Closes #3109
  • Loading branch information
kyunal authored Oct 14, 2024
1 parent c93589b commit 73cb190
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 73cb190

Please sign in to comment.