Homec4science

Conpherence - sort participant list in a case insensitive way

Authored by Bob Trahan <btrahan@phacility.com> on Apr 22 2015, 21:19.

Description

Conpherence - sort participant list in a case insensitive way

Summary: Fixes T7857. Some sorting gymnastics - make a nice list for natcasesort and then array_select_key to sort - but nothing too crazy.

Test Plan: made a room with user "btrahan" and other users "BTRAHA", "BTRAHANCAPS", and "xerxes". chat room correctly ordered "btrahan" (since logged in user always at top), "BTRAHA", "BTRAHANCAPS", "xerxes". Viewed room as "xerxes" and saw ordering "xerxes", "BTRAHA", "btrahan", "BTRAHANCAPS".

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7857

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

Details

Committed
Bob Trahan <btrahan@phacility.com>Apr 22 2015, 21:19
Pushed
aubortJan 31 2017, 17:16
Parents
rPH306ab292596c: Add documentation for customizing fonts
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPH2e8649c29231: Conpherence - sort participant list in a case insensitive way (authored by Bob Trahan <btrahan@phacility.com>).Apr 22 2015, 21:19