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

fixes api url

parent 732a6010
Branches
Tags
No related merge requests found
......@@ -9,7 +9,7 @@ $(function () {
html: true,
minLength: 2,
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})
.done(function (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