use full resultType with csv download on chart in dashboard (#17431)
This commit is contained in:
parent
9741eaa731
commit
71e3fa1bf3
|
|
@ -116,7 +116,7 @@ describe('Chart', () => {
|
|||
expect(stubbedExportCSV.lastCall.args[0]).toEqual(
|
||||
expect.objectContaining({
|
||||
formData: expect.anything(),
|
||||
resultType: 'results',
|
||||
resultType: 'full',
|
||||
resultFormat: 'csv',
|
||||
}),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue