From 6f2217bde50613be0be1891b574f055f93f24d14 Mon Sep 17 00:00:00 2001 From: mokaddem Date: Thu, 12 Nov 2020 14:38:22 +0100 Subject: [PATCH] fix: [galaxyCluster] Allow forks with same name to appear in the picker --- app/Controller/GalaxiesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/GalaxiesController.php b/app/Controller/GalaxiesController.php index b135c4311..c59a1ebe1 100644 --- a/app/Controller/GalaxiesController.php +++ b/app/Controller/GalaxiesController.php @@ -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);