Skip to content

Commit

Permalink
Merge branch 'master' of github.com:datopian/nhs into fixing-api-calls
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-mahajan committed May 28, 2021
2 parents 014c9e5 + e15340f commit 82acfe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/nhs/templates/ajax_snippets/api_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#}

{% set sql_example_url = h.url_for(controller='api', action='action', ver=3, logic_function='datastore_search_sql', qualified=True) + '?sql=SELECT * from ' +'`'+ resource_id +'`'+ ' limit 5' %}
{% set sql_example_url = h.url_for(controller='api', action='action', ver=3, logic_function='datastore_search_sql', qualified=True) + '?resource_id='+resource_id + '&sql=SELECT * from ' +'`'+ resource_id +'`'+ ' limit 5' %}
{# not urlencoding the sql because its clearer #}
<div{% if not embedded %} class="modal fade"{% endif %}>
<div class="modal-dialog">
Expand Down

0 comments on commit 82acfe8

Please sign in to comment.