@infrab4a/connect-angular 5.3.1-beta.0 → 5.3.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3008,7 +3008,7 @@ class OrderProductReviewService {
3008
3008
  const productReview = await this.productReviewRepository
3009
3009
  .find({
3010
3010
  filters: {
3011
- orderId: order.id,
3011
+ orderId: { operator: Where.IN, value: [order.id, order.orderNumber] },
3012
3012
  productId: item.id,
3013
3013
  status: { operator: Where.ISNULL },
3014
3014
  },
@@ -3030,6 +3030,7 @@ class OrderProductReviewService {
3030
3030
  image: item.image,
3031
3031
  deliveryDate: order.deliveredAt || null,
3032
3032
  evaluationInAnalysis: review ? true : false,
3033
+ rating: review ? review.rate : null,
3033
3034
  shopProductSlug: item.slug,
3034
3035
  };
3035
3036
  }