From 291b739b761ee6ea6b3142ef2d89973435441654 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 25 Aug 2011 16:26:43 +0000 Subject: [PATCH] Alphabetic sorting of groups --- chrome/content/zotero/xpcom/data/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/groups.js b/chrome/content/zotero/xpcom/data/groups.js index 5ad539df96..4fec47df01 100644 --- a/chrome/content/zotero/xpcom/data/groups.js +++ b/chrome/content/zotero/xpcom/data/groups.js @@ -42,7 +42,7 @@ Zotero.Groups = new function () { this.getAll = function () { var groups = []; - var sql = "SELECT groupID FROM groups"; + var sql = "SELECT groupID FROM groups ORDER BY name COLLATE locale"; var groupIDs = Zotero.DB.columnQuery(sql); if (!groupIDs) { return groups;