From 7e09166f4541b91c746a320978164ce719088cb4 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 12 Feb 2013 14:41:24 -0500 Subject: [PATCH] Remove sort by PM status in activity list Now the sorting is done by activity status, then alphabetical. (imported from commit 202df275f7502eb1c97d6f04880e67392f5cde0d) --- zephyr/static/js/activity.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/zephyr/static/js/activity.js b/zephyr/static/js/activity.js index 0b59d53594..904ed231c4 100644 --- a/zephyr/static/js/activity.js +++ b/zephyr/static/js/activity.js @@ -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;