1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

When sorting subscriber references for display in the curtain UI, sort without case sensitivity

Summary: Ref T13486. Currently, "Zarbo" sorts above "alice", but this isn't expected for a list of (mostly) human usernames.

Test Plan: Loaded a task with subscribers with mixed-case usernames.

Maniphest Tasks: T13486

Differential Revision: https://secure.phabricator.com/D20969
This commit is contained in:
epriestley 2020-02-04 15:03:17 -08:00
parent fdbe9ba149
commit fd46c597ae

View file

@ -123,7 +123,9 @@ final class PhabricatorSubscriptionsCurtainExtension
$handle = $handles[$subscriber_phid];
if ($handle->isComplete()) {
$is_complete = true;
$sort_name = $handle->getLinkName();
$sort_name = phutil_utf8_strtolower($sort_name);
}
}
}