Browse Source

change export links to route ExportTableAjax

Piotr Labudda 6 years ago
parent
commit
5d847e5962
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/Bocian.php.view.js

+ 1 - 1
tools/Bocian.php.view.js

@@ -2407,7 +2407,7 @@ var P5UI__Bocian__ExportFieldSelectOverlay = createReactClass({
 	openExportWindow: function (format) {
 		var selected = this.props.exportFieldsStore.state.selected;
 		DBG && console.log('DBG:P5UI__Bocian__ExportFieldSelectOverlay:openExportWindow', { format: format, selected: selected })
-		var exportUrl = [ 'index.php?_route=ViewTableAjax&_task=export&namespace=' + this.props.namespace,
+		var exportUrl = [ 'index.php?_route=ExportTableAjax&namespace=' + this.props.namespace,
 			'format=' + format,
 			'flds=' + Array.from(selected).join(','),
 			'sortCol=' + (this.props.sortCol || ''),