@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix an issue where repositories with hyphens could sort improperly in typeaheads

Summary: Fixes T12894. See that task for discussion.

Test Plan:
- Created repositories `abcdef`, then `abcdef-a` through `abcdef-f`.
- Before patch, awkward sort order.
- After patch, query for `abcdef` hits `abcdef` first.
- See T12894 for details and screenshots.

Reviewers: chad, amckinley

Reviewed By: chad

Maniphest Tasks: T12894

Differential Revision: https://secure.phabricator.com/D18179

+1 -1
+1 -1
src/applications/diffusion/typeahead/DiffusionRepositoryDatasource.php
··· 54 54 $parts[] = $monogram; 55 55 } 56 56 57 - $name = implode(' ', $parts); 57 + $name = implode("\n", $parts); 58 58 59 59 $vcs = $repository->getVersionControlSystem(); 60 60 $vcs_type = PhabricatorRepositoryType::getNameForRepositoryType($vcs);