Skip to content

Commit

Permalink
[#4140] Fixing the URL for datastore_search action provided when addi…
Browse files Browse the repository at this point in the history
…ng filter
  • Loading branch information
Yan authored and Yan committed Mar 21, 2018
1 parent 7e52722 commit 826bafb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -94,7 +94,7 @@ this.ckan.module('resource-view-filters', function (jQuery) {
width: 'resolve',
minimumInputLength: 0,
ajax: {
url: '/api/3/action/datastore_search',
url: ckan.url('/api/3/action/datastore_search'),
datatype: 'json',
quietMillis: 200,
cache: true,
Expand Down
Expand Up @@ -94,7 +94,7 @@ this.ckan.module('resource-view-filters', function (jQuery) {
width: 'resolve',
minimumInputLength: 0,
ajax: {
url: '/api/3/action/datastore_search',
url: ckan.url('/api/3/action/datastore_search'),
datatype: 'json',
quietMillis: 200,
cache: true,
Expand Down

0 comments on commit 826bafb

Please sign in to comment.