Skip to content

Commit e59b03b

Browse files
author
Ihor Melnychenko
committed
MAGETWO-45294: JS error on creditmemo view grid during export to CSV
1 parent 8d21b9f commit e59b03b

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid

1 file changed

+3
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/export.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ define([
7373
},
7474

7575
buildOptionUrl: function (option) {
76-
return this.getParams() ? option.url + '?' + $.param(this.getParams()) : '';
76+
var params = this.getParams();
77+
78+
return params ? option.url + '?' + $.param(params) : '';
7779
},
7880

7981
applyOption: function () {

0 commit comments

Comments
 (0)