From 6d81629921d9f02af6d83c2f6171eda49b0ea055 Mon Sep 17 00:00:00 2001 From: Tom Greenfield Date: Thu, 9 Mar 2017 14:55:51 +0000 Subject: [PATCH] Perform case insensitive sort of users --- .../src/plugins/userManagement/collections/userCollection.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/plugins/userManagement/collections/userCollection.js b/frontend/src/plugins/userManagement/collections/userCollection.js index d6a42dc349..3cef417b84 100644 --- a/frontend/src/plugins/userManagement/collections/userCollection.js +++ b/frontend/src/plugins/userManagement/collections/userCollection.js @@ -5,7 +5,9 @@ define(function(require) { var UserCollection = Backbone.Collection.extend({ model: UserModel, - comparator: 'email', + comparator: function(model) { + return model.get('email').toLowerCase(); + }, url: 'api/user' });