From bbeb69ddc9016d7ea911e15c5ddcc54202b46b29 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 18 Apr 2017 15:43:38 -0400 Subject: [PATCH] FIX: sort theme by lower case theme name --- .../javascripts/admin/controllers/admin-customize-themes.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/controllers/admin-customize-themes.js.es6 b/app/assets/javascripts/admin/controllers/admin-customize-themes.js.es6 index 9dc84eee3c0..b9a897a26a1 100644 --- a/app/assets/javascripts/admin/controllers/admin-customize-themes.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-customize-themes.js.es6 @@ -4,7 +4,7 @@ export default Ember.Controller.extend({ @computed('model', 'model.@each') sortedThemes(themes) { return _.sortBy(themes.content, t => { - return [!t.get("default"), !t.get("user_selectable"), t.get("name")]; + return [!t.get("default"), !t.get("user_selectable"), t.get("name").toLowerCase()]; }); } });