Sort users alphabetically for planner by user

This commit is contained in:
Nathan Gray 2016-01-14 22:21:38 +00:00
parent 74531bbae4
commit ca015e4249

View File

@ -378,7 +378,9 @@ var et2_calendar_planner = et2_calendar_view.extend([et2_IDetachedDOM, et2_IResi
} }
} }
return labels; return labels.sort(function(a,b) {
return a.label.localeCompare(b.label);
});
}, },
// Group the events into the rows // Group the events into the rows
group: function(labels, rows, event) { group: function(labels, rows, event) {