Skip to content

Commit

Permalink
use full resultType with csv download on chart in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
eschutho committed Nov 13, 2021
1 parent aa8040e commit f54f893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe('Chart', () => {
expect(stubbedExportCSV.lastCall.args[0]).toEqual(
expect.objectContaining({
formData: expect.anything(),
resultType: 'results',
resultType: 'full',
resultFormat: 'csv',
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default class Chart extends React.Component {
formData: isFullCSV
? { ...this.props.formData, row_limit: this.props.maxRows }
: this.props.formData,
resultType: 'results',
resultType: 'full',
resultFormat: 'csv',
});
}
Expand Down

0 comments on commit f54f893

Please sign in to comment.