Skip to content
Snippets Groups Projects
Commit f2d7a0e6 authored by Dennis's avatar Dennis
Browse files

DONE

parent 3b8765b3
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,7 @@ $(function () { ...@@ -15,8 +15,7 @@ $(function () {
var url = ckan.SITE_ROOT + '/api/3/action/autocomplete'; var url = ckan.SITE_ROOT + '/api/3/action/autocomplete';
$.getJSON(url, {q: request.term}) $.getJSON(url, {q: request.term})
.done(function (data) { .done(function (data) {
console.log(data); response(data.result);
response(data);
}); });
} }
}); });
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment