Skip to content

Commit

Permalink
fix double encoding of search terms
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Jan 19, 2015
1 parent a7f6182 commit c108de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/public/base/javascript/modules/autocomplete.js
Expand Up @@ -115,7 +115,7 @@ this.ckan.module('autocomplete', function (jQuery, _) {
getCompletions: function (string, fn) {
var parts = this.options.source.split('?');
var end = parts.pop();
var source = parts.join('?') + encodeURIComponent(string) + end;
var source = parts.join('?') + string + end;
var client = this.sandbox.client;
var options = {
format: function(data) {
Expand Down

0 comments on commit c108de9

Please sign in to comment.