fix: [galaxyCluster] Allow forks with same name to appear in the picker

pull/6120/head
mokaddem 2020-11-12 14:38:22 +01:00
parent bdbed2946f
commit 6f2217bde5
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ class GalaxiesController extends AppController
}
$cluster['GalaxyCluster']['synonyms_string'] = implode(', ', $cluster['GalaxyCluster']['synonyms_string']);
unset($cluster['GalaxyElement']);
$clusters[$cluster['GalaxyCluster']['type']][$cluster['GalaxyCluster']['value']] = $cluster['GalaxyCluster'];
$clusters[$cluster['GalaxyCluster']['type']][$cluster['GalaxyCluster']['uuid']] = $cluster['GalaxyCluster'];
}
ksort($clusters);
$this->set('target_id', $target_id);