Skip to content

Commit

Permalink
use full resultType with csv download on chart in dashboard (#17431)
Browse files Browse the repository at this point in the history
  • Loading branch information
eschutho authored and AAfghahi committed Jan 10, 2022
1 parent 3f4795f commit cccfb03
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 cccfb03

Please sign in to comment.