--- a/common/corpus-common-addon/lib/commands/dl-fixtures.js Sun Oct 16 22:23:31 2016 +0530
+++ b/common/corpus-common-addon/lib/commands/dl-fixtures.js Sun Oct 16 23:19:57 2016 +0530
@@ -78,7 +78,7 @@
},
dl_documents_ids: function(commandOptions, rawArgs, ui) {
- var nextPageUrl = commandOptions.url;
+ var nextPageUrl = commandOptions.url+"?sort=_graph";
var pageIndex = 1;
var ids = commandOptions.extra?_.map(commandOptions.extra.split(','), function(id) { return { id: id};}):[];
@@ -96,7 +96,7 @@
err.res = res;
return deferred.reject(err);
}
- nextPageUrl = body.next_page_url;
+ nextPageUrl = body.meta.next_page_url;
pageIndex++;
ids = _.reduce(