From c40417d1dcb077dc538245a90f3597a2ef3b0d6b Mon Sep 17 00:00:00 2001 From: merdan Date: Tue, 3 May 2022 17:17:20 +0500 Subject: [PATCH] category indexes --- packages/Sarga/API/Http/Resources/Catalog/Suggestion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/API/Http/Resources/Catalog/Suggestion.php b/packages/Sarga/API/Http/Resources/Catalog/Suggestion.php index 73b910e97..ab59f0d38 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/Suggestion.php +++ b/packages/Sarga/API/Http/Resources/Catalog/Suggestion.php @@ -18,7 +18,7 @@ class Suggestion extends JsonResource 'id' => $this->product_id ?? $this->id, 'type' => $this->suggestion_type, 'name' => $this->name, - $this->mergeWhen($this->suggestion_type =='category',['description' => $this->description]) +// $this->mergeWhen($this->suggestion_type =='category',['description' => $this->description]) ]; }