Don't stop after one uploaded full-text batch

This commit is contained in:
Dan Stillman 2017-08-06 19:02:59 +02:00
parent 945da5e008
commit a02eb3c328

View file

@ -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++) {