mirror of
https://github.com/moparisthebest/mail
synced 2024-11-24 09:52:21 -05:00
Order folders by path instead of name to keep subfolder order
This commit is contained in:
parent
9bf8c758ec
commit
39d19df187
@ -1183,7 +1183,7 @@ Email.prototype._updateFolders = function() {
|
||||
return 1;
|
||||
} else {
|
||||
// non-wellknown folders should be sorted case-insensitive
|
||||
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
|
||||
return a.path.toLowerCase().localeCompare(b.path.toLowerCase());
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user