commit 291b739b761ee6ea6b3142ef2d89973435441654 parent cd885c8a24052d7c436c5175732bf1d34ec152eb Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 25 Aug 2011 16:26:43 +0000 Alphabetic sorting of groups Diffstat:
| M | 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 @@ -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;