@@ -, +, @@ --- koha-tmpl/opac-tmpl/bootstrap/js/autofill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js +++ a/koha-tmpl/opac-tmpl/bootstrap/js/autofill.js @@ -67,7 +67,7 @@ var gAPI = 'https://www.googleapis.com/books/v1/volumes?q='; if(self.type) gAPI += self.type + ':'; - gAPI += self.$elm.val(); + gAPI += self.$elm.val().replace(/\-/g, ''); gAPI += '&maxResults=1'; $.getJSON(gAPI, function (response) { if(response.totalItems == 0) { --