Remove SQL sort by parentItemID in Zotero.Sync.Data.Local.getUnsynced()
Now handled by Zotero.DataObjects.sortByParent()
This commit is contained in:
parent
8f5662ee6a
commit
acc3a70083
1 changed files with 0 additions and 4 deletions
|
@ -546,10 +546,6 @@ Zotero.Sync.Data.Local = {
|
|||
+ "LEFT JOIN itemNotes INo ON (O.itemID=INo.itemID) ";
|
||||
}
|
||||
sql += " WHERE libraryID=? AND synced=0";
|
||||
// Sort child items last
|
||||
if (objectType == 'item') {
|
||||
sql += " ORDER BY COALESCE(IA.parentItemID, INo.parentItemID)";
|
||||
}
|
||||
|
||||
var ids = yield Zotero.DB.columnQueryAsync(sql, [libraryID]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue