diff --git a/src/applications/owners/controller/PhabricatorOwnersPathsController.php b/src/applications/owners/controller/PhabricatorOwnersPathsController.php --- a/src/applications/owners/controller/PhabricatorOwnersPathsController.php +++ b/src/applications/owners/controller/PhabricatorOwnersPathsController.php @@ -82,7 +82,13 @@ } } - $repos = mpull($repos, 'getDisplayName', 'getPHID'); + + $repo_map = array(); + foreach ($repos as $key => $repo) { + $monogram = $repo->getMonogram(); + $name = $repo->getName(); + $repo_map[$repo->getPHID()] = "{$monogram} {$name}"; + } asort($repos); $template = new AphrontTypeaheadTemplateView(); @@ -94,7 +100,7 @@ 'root' => 'path-editor', 'table' => 'paths', 'add_button' => 'addpath', - 'repositories' => $repos, + 'repositories' => $repo_map, 'input_template' => $template, 'pathRefs' => $path_refs,