From 75011da9b372f012d1e6b0abf0bc09754a15993d Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 16 May 2022 15:55:03 +0500 Subject: [PATCH] atrr option cat --- packages/Sarga/API/Http/Resources/Catalog/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/API/Http/Resources/Catalog/Attribute.php b/packages/Sarga/API/Http/Resources/Catalog/Attribute.php index d5992430c..75b7498f4 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/Attribute.php +++ b/packages/Sarga/API/Http/Resources/Catalog/Attribute.php @@ -18,7 +18,7 @@ class Attribute extends JsonResource 'id' => $this->id, 'code' => $this->code, 'name' => $this->name ?? $this->admin_name, - 'options' => AttributeOption::collection($this->options()->take(20)->get()), +// 'options' => AttributeOption::collection($this->options()->take(20)->get()), ]; }