We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33cb602 + b154e94 commit 702ab5dCopy full SHA for 702ab5d
ckanext/dataexplorer/public/vendor/recline/recline.js
@@ -4830,9 +4830,7 @@ this.recline.View = this.recline.View || {};
4830
},
4831
extractFile: function (self, sql_query, format) {
4832
var base_path = self.model.attributes.endpoint || self.options.site_url;
4833
- //console.log(base_path);
4834
- var endpoint = `${base_path}/3/action/datastore_search_sql?sql=${sql_query}`; // USE BASE_PATH IN PRODUCTION
4835
- //var endpoint = `https://ckan.nhs.staging.datopian.com/api/3/action/datastore_search_sql?sql=${sql_query}`;
+ var endpoint = `${base_path}/3/action/datastore_search_sql?sql=${escape(sql_query)}`; // USE BASE_PATH IN PRODUCTION
4836
self.progress();
4837
4838
fetch(endpoint)
0 commit comments