fix(medusa): Filter statement in partitionItems_ method of Fulfillment Service (#5247)

* Fixed filter statement in partitionItems_ method of Fulfillment Service

* Fix custom batch job activity card

* Added changeset

* Revert unrelated change

---------

Co-authored-by: Pepijn van Vlaanderen <pepijn@webbers.com>
This commit is contained in:
Didier GuyonandPepijn van Vlaanderen authored and GitHub committed 2023-10-12 10:55:07 -07:00
1 parent cacc443fc2
commit ec27d02d99
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class FulfillmentService extends TransactionBaseService {
const methodProfile = method.shipping_option.profile_id
temp.items = items.filter(({ variant }) => {
variant.product.profile_id === methodProfile
return variant.product.profile_id === methodProfile
})
partitioned.push(temp)
}