mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Adressed PR comment's
This commit is contained in:

committed by
Romain Neutron

parent
18b7f6d65a
commit
8a59f0070d
@@ -146,7 +146,7 @@ class Fields implements ControllerProviderInterface
|
||||
continue;
|
||||
}
|
||||
|
||||
$res[$tagname] = array(
|
||||
$res[] = array(
|
||||
'id' => $namespace . '/' . $tagname,
|
||||
'label' => $datas['namespace'] . ' / ' . $datas['tagname'],
|
||||
'value' => $datas['namespace'] . ':' . $datas['tagname'],
|
||||
@@ -155,8 +155,6 @@ class Fields implements ControllerProviderInterface
|
||||
}
|
||||
}
|
||||
|
||||
ksort($res);
|
||||
|
||||
return $app->json($res);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user