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

fixes api url

parent 732a6010
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ $(function () { ...@@ -9,7 +9,7 @@ $(function () {
html: true, html: true,
minLength: 2, minLength: 2,
source: function (request, response) { source: function (request, response) {
var url = ckan.SITE_ROOT + '/api/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); console.log(data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment