mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Remove sort by PM status in activity list
Now the sorting is done by activity status, then alphabetical. (imported from commit 202df275f7502eb1c97d6f04880e67392f5cde0d)
This commit is contained in:
parent
3fe5ffe293
commit
7e09166f45
@ -30,14 +30,6 @@ function sort_users(users, user_info) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Sort individual active/inactive statuses by pm activity
|
||||
var pmsort = typeahead_helper.compare_by_pms(
|
||||
typeahead_helper.render_pm_object(people_dict[a]),
|
||||
typeahead_helper.render_pm_object(people_dict[b]));
|
||||
if (pmsort !== 0) {
|
||||
return pmsort;
|
||||
}
|
||||
|
||||
// Sort equivalent PM names alphabetically
|
||||
if (a < b) {
|
||||
return -1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user