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 Nov 15, 2021
1 parent 9741eaa commit 71e3fa1
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 71e3fa1

Please sign in to comment.