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
(cherry picked from commit 71e3fa1)
  • Loading branch information
eschutho committed Dec 6, 2021
1 parent 46343a9 commit c42ff79
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 @@ -242,7 +242,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 c42ff79

Please sign in to comment.