1
This commit is contained in:
@@ -52,10 +52,10 @@ class VehicleNewAttributesService extends BaseService
|
||||
return [
|
||||
'filters' => [
|
||||
],
|
||||
'fields' => ['id','status'],
|
||||
'fields' => ['id','status', 'input_type', 'category_id', 'is_img'],
|
||||
'relations' => [
|
||||
'translation' => ['attributes_id', 'locale', 'attribute_name'],
|
||||
'value' => ['id', 'attribute_id', 'sort_order'],
|
||||
'value' => ['id', 'attribute_id', 'color_code', 'sort_order'],
|
||||
'value.translation' => ['id', 'values_id', 'locale', 'value_name'],
|
||||
],
|
||||
'sorts' => [
|
||||
@@ -68,10 +68,10 @@ class VehicleNewAttributesService extends BaseService
|
||||
'filters' => [
|
||||
['field'=>'id', 'operator'=>'=', 'value'=> $params['id']],
|
||||
],
|
||||
'fields' => ['id', 'status'],
|
||||
'fields' => ['id', 'status', 'input_type', 'category_id', 'is_img'],
|
||||
'relations' => [
|
||||
'translation' => ['attributes_id', 'locale', 'attribute_name'],
|
||||
'value' => ['id', 'attribute_id', 'sort_order'],
|
||||
'translation' => ['attributes_id', 'locale', 'attribute_name'],
|
||||
'value' => ['id', 'attribute_id', 'color_code', 'sort_order'],
|
||||
'value.translation' => ['id', 'values_id', 'locale', 'value_name'],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user