From a02eb3c328f3fb1ea751d4c7c3fac198a1cc4948 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 6 Aug 2017 19:02:59 +0200 Subject: [PATCH] Don't stop after one uploaded full-text batch --- chrome/content/zotero/xpcom/fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 3485c13a3..377c6e10c 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -839,7 +839,7 @@ Zotero.Fulltext = Zotero.FullText = new function(){ sql += "AND itemID>?"; params.push(options.lastItemID); } - sql += "ORDER BY itemID DESC"; + sql += "ORDER BY itemID"; var rows = yield Zotero.DB.queryAsync(sql, params); var contentSize = 0; for (let i = 0; i < rows.length; i++) {