Alphabetic sorting of groups
This commit is contained in:
parent
cd885c8a24
commit
291b739b76
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue