Skip to content

Commit

Permalink
[#195] fix for download of csv of search results
Browse files Browse the repository at this point in the history
  • Loading branch information
trel committed Feb 24, 2021
1 parent e82fc63 commit d6727bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

#### #183 Temporarily remove non-functional drag and drop to the upload dialog, to be addressed in collection browser re-facing as a single page app
#### #183 Temporarily remove non-functional drag and drop to the upload dialog, to be addressed in collection browser re-facing as a single page app

#### #195 downloading CSV of metadata search results fails w/ SYS_MALLOC_ERR

Added unit tests and interim patch to csv download of metadata query results (set at 5000 result limit currently)
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ public void exportSearchResultsToCSVFile(final HttpServletResponse response) thr
// Executing query
DataGridPageContext pageContext = new DataGridPageContext();
List<DataGridCollectionAndDataObject> dataGridCollectionAndDataObjects = metadataService
.findByMetadata(currSearch, pageContext, 1, Integer.MAX_VALUE);
.findByMetadata(currSearch, pageContext, 1, 5000); // TODO: temp fix for
// https://github.com/irods-contrib/metalnx-web/issues/195

// Printing number of results
outputStream.print("Number of results\n");
Expand Down

0 comments on commit d6727bf

Please sign in to comment.