Merge branch 'feature/ticket0715' into develop
This commit is contained in:
@@ -14,7 +14,7 @@ class CategorieService
|
|||||||
public function list($params)
|
public function list($params)
|
||||||
{
|
{
|
||||||
$result = (new CategorieLogic())->list($params);
|
$result = (new CategorieLogic())->list($params);
|
||||||
$value=$result[0]->toArray();
|
// $value=$result[0]->toArray();
|
||||||
foreach ($result as $key => &$value) {
|
foreach ($result as $key => &$value) {
|
||||||
$value['name'] = isset($value['translation']) ? $value['translation']['name'] : '';
|
$value['name'] = isset($value['translation']) ? $value['translation']['name'] : '';
|
||||||
unset($value['translation']);
|
unset($value['translation']);
|
||||||
|
|||||||
Reference in New Issue
Block a user