File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
ckanext/dataexplorer/public/vendor/recline Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -4830,9 +4830,7 @@ this.recline.View = this.recline.View || {};
48304830 } ,
48314831 extractFile : function ( self , sql_query , format , query = { } ) {
48324832 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 } &resource_id=${ query . resource_id } ` ; // USE BASE_PATH IN PRODUCTION
4835- //var endpoint = `https://ckan.nhs.staging.datopian.com/api/3/action/datastore_search_sql?sql=${sql_query}`;
4833+ var endpoint = `${ base_path } /3/action/datastore_search_sql?sql=${ escape ( sql_query ) } &resource_id=${ query . resource_id } ` ; // USE BASE_PATH IN PRODUCTION
48364834 self . progress ( ) ;
48374835
48384836 fetch ( endpoint )
You can’t perform that action at this time.
0 commit comments