Data API window shows the datastore_search_sql
endpoint even when switched off
#7289
Labels
datastore_search_sql
endpoint even when switched off
#7289
CKAN version
2.9 / 2.10
Describe the bug
The Data API window shows the
datastore_search_sql
endpoint even when switched off (which is the default)The snippet should use
config.get("ckan.datastore.sqlsearch.enabled")
to show the row only when enabled.Also looks like you need to click two times to open the window, probably a little bug in the js module. (Why do we need an AJAX call to get the content of the modal in the first place?)
The text was updated successfully, but these errors were encountered: