Skip to content

Commit

Permalink
Don't stop after one uploaded full-text batch
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Aug 9, 2017
1 parent 945da5e commit a02eb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/xpcom/fulltext.js
Expand Up @@ -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++) {
Expand Down

0 comments on commit a02eb3c

Please sign in to comment.