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:
Leo Franchi 2013-02-12 14:41:24 -05:00
parent 3fe5ffe293
commit 7e09166f45

View File

@ -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;