chg: [UI] WIP - generic_picker filter galaxies by synonyms

pull/4024/head
mokaddem 2019-01-14 10:11:46 +01:00
parent ef09744389
commit 0eee20c953
1 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,8 @@ class GalaxiesController extends AppController
$cluster_id = h($cluster['id']);
$title = __('Synonyms: ') . h($cluster['synonyms_string']);
$name = h($cluster['value']);
$items[$name] = array(
$optionName = h($cluster['value']) . ' (' . h($cluster['synonyms_string']) . ')';
$items[$optionName] = array(
'value' => h($cluster_id),
'title' => $title,
'additionalData' => array(