Skip to content

Commit

Permalink
[Upd #36] Removing export paging parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Jul 11, 2024
1 parent bb140f5 commit b3fbab1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/record/RecordsController.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ class RecordsController extends React.Component {
trackPromise(
this.props.exportRecords(exportType, {
...this.state.filters,
sort: sortToParams(this.state.sort),
page: this.state.pageNumber,
size: BrowserStorage.get(STORAGE_TABLE_PAGE_SIZE_KEY, DEFAULT_PAGE_SIZE),
// Uncomment if paging is required for export
// sort: sortToParams(this.state.sort),
// page: this.state.pageNumber,
// size: BrowserStorage.get(STORAGE_TABLE_PAGE_SIZE_KEY, DEFAULT_PAGE_SIZE),
}),
"records",
);
Expand Down

0 comments on commit b3fbab1

Please sign in to comment.