Skip to content

Commit

Permalink
Merge pull request #1057 from aholachek/library-improvements
Browse files Browse the repository at this point in the history
quick bump up of the hard library export to search results page limit…
  • Loading branch information
aholachek authored Aug 9, 2016
2 parents 720910a + 3eacce8 commit 1d17223
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/js/components/library_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ define([

var deferred = $.Deferred(),
that = this,
maxReturned = 3000;
//hard limit, no more than 10,000 records can be exported to search results page
maxReturned = 10000;

//we already have it in the cache, so just resolve + return promise
if (this._libraryBibcodeCache[id]) {
Expand Down Expand Up @@ -568,4 +569,4 @@ define([

return LibraryController;

});
});

0 comments on commit 1d17223

Please sign in to comment.