1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +01:00

Fix symbol search in typeahead

Test Plan: Inputted 'Mac' to search field.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3754
This commit is contained in:
vrana 2012-10-19 17:54:47 -07:00
parent 3a8be549d6
commit 7b0c608df8

View file

@ -295,7 +295,7 @@ final class PhabricatorTypeaheadCommonDatasourceController
->setName($name) ->setName($name)
->setURI($symbol->getURI()) ->setURI($symbol->getURI())
->setPHID(md5($symbol->getURI())) // Just needs to be unique. ->setPHID(md5($symbol->getURI())) // Just needs to be unique.
->setDisplayName($symbol->getName()) ->setDisplayName($name)
->setDisplayType(strtoupper($lang).' '.ucwords($type).' ('.$proj.')') ->setDisplayType(strtoupper($lang).' '.ucwords($type).' ('.$proj.')')
->setPriorityType('symb'); ->setPriorityType('symb');
} }