diff --git a/chrome/content/zotero/contextPane.js b/chrome/content/zotero/contextPane.js index 21ca3d03c8..0e2672846c 100644 --- a/chrome/content/zotero/contextPane.js +++ b/chrome/content/zotero/contextPane.js @@ -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); }); }