Fix CSV export for multi-line queries
This commit is contained in:
parent
3b00a61cba
commit
ec3e52d60f
@ -241,6 +241,9 @@ function exportToCSV() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Replace line breaks with spaces
|
||||||
|
query = query.replace(/\n/g, " ");
|
||||||
|
|
||||||
setCurrentTab("table_query");
|
setCurrentTab("table_query");
|
||||||
|
|
||||||
var url = "http://" + window.location.host + "/query?format=csv&query=" + query;
|
var url = "http://" + window.location.host + "/query?format=csv&query=" + query;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user