From 7cdd33cd5abb0c912680e0f64451caf170e69ebf Mon Sep 17 00:00:00 2001 From: Fadli Date: Tue, 30 Aug 2022 00:39:29 +0700 Subject: [PATCH] - change status to product history status --- src/product/product.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/product/product.service.ts b/src/product/product.service.ts index df1642f..7653ea0 100644 --- a/src/product/product.service.ts +++ b/src/product/product.service.ts @@ -366,7 +366,7 @@ export class ProductService { 'product.currentStatus', 'product.statusHistory', 'history_status', - 'history_status.deleted_at is NULL and history_status.partner_id = :id_partner and history_status.status = ACTIVE', + 'history_status.deleted_at is NULL and history_status.partner_id = :id_partner and history_status.status = `ACTIVE`', { id_partner: user.partner.id, },