Skip to content

Commit

Permalink
Fix csv export - download issue #65
Browse files Browse the repository at this point in the history
  • Loading branch information
dvesh3 committed Jan 20, 2020
1 parent ccc0af3 commit c81bf2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Resources/public/js/searchConfig/resultPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,9 @@ pimcore.bundle.advancedObjectSearch.searchConfig.resultPanel = Class.create(pimc
var fieldKeys = Object.keys(fields);

if (rdata.success && rdata.jobs) {
this.exportProcess(rdata.jobs, rdata.fileHandle, fieldKeys, true);
var exportType = {};
exportType.downloadUrl = "/admin/object-helper/download-csv-file";
this.exportProcess(rdata.jobs, rdata.fileHandle, fieldKeys, true, {}, exportType);
}

}.bind(this)
Expand Down

0 comments on commit c81bf2f

Please sign in to comment.