mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
parent
b8b1f8be55
commit
a5fc8b859c
1 changed files with 2 additions and 2 deletions
|
|
@ -548,8 +548,8 @@ var ZoteroContextPane = new function () {
|
|||
else {
|
||||
let collation = Zotero.getLocaleCollation();
|
||||
notes.sort((a, b) => {
|
||||
let aTitle = Zotero.Items.getSortTitle(a.getField('title'));
|
||||
let bTitle = Zotero.Items.getSortTitle(b.getField('title'));
|
||||
let aTitle = Zotero.Items.getSortTitle(a.getNoteTitle());
|
||||
let bTitle = Zotero.Items.getSortTitle(b.getNoteTitle());
|
||||
return collation.compareString(1, aTitle, bTitle);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue