Alphabetic sorting of groups

This commit is contained in:
Dan Stillman 2011-08-25 16:26:43 +00:00
parent cd885c8a24
commit 291b739b76

View file

@ -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;