File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ckanext/dataexplorer/public/vendor/recline Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4826,12 +4826,12 @@ this.recline.View = this.recline.View || {};
48264826
48274827 var model_fields = self . model . fields ;
48284828 var sql_query = this . jsQueryToSQL ( query , model_fields ) ;
4829- this . extractFile ( self , sql_query , format ) ;
4829+ this . extractFile ( self , sql_query , format , query ) ;
48304830 } ,
4831- extractFile : function ( self , sql_query , format ) {
4831+ extractFile : function ( self , sql_query , format , query = { } ) {
48324832 var base_path = self . model . attributes . endpoint || self . options . site_url ;
48334833 //console.log(base_path);
4834- var endpoint = `${ base_path } /3/action/datastore_search_sql?sql=${ sql_query } ` ; // USE BASE_PATH IN PRODUCTION
4834+ var endpoint = `${ base_path } /3/action/datastore_search_sql?sql=${ sql_query } &resource_id= ${ query . resource_id } ` ; // USE BASE_PATH IN PRODUCTION
48354835 //var endpoint = `https://ckan.nhs.staging.datopian.com/api/3/action/datastore_search_sql?sql=${sql_query}`;
48364836 self . progress ( ) ;
48374837
You can’t perform that action at this time.
0 commit comments