diff --git a/superset-frontend/spec/javascripts/dashboard/components/gridComponents/Chart_spec.jsx b/superset-frontend/spec/javascripts/dashboard/components/gridComponents/Chart_spec.jsx index fdbd766f76078..b2acc42766e1c 100644 --- a/superset-frontend/spec/javascripts/dashboard/components/gridComponents/Chart_spec.jsx +++ b/superset-frontend/spec/javascripts/dashboard/components/gridComponents/Chart_spec.jsx @@ -116,7 +116,7 @@ describe('Chart', () => { expect(stubbedExportCSV.lastCall.args[0]).toEqual( expect.objectContaining({ formData: expect.anything(), - resultType: 'results', + resultType: 'full', resultFormat: 'csv', }), ); diff --git a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx index 4a86d89f2b41e..3447c982f4c74 100644 --- a/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx +++ b/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx @@ -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', }); }