Select Remote Vue component fixed remote method function.

This commit is contained in:
Cüneyt Şentürk 2021-01-04 00:48:36 +03:00
parent 154a493109
commit b529517aec

View File

@ -650,14 +650,16 @@ export default {
path = url + '/common/items/autocomplete'; path = url + '/common/items/autocomplete';
} }
if (path.search('/?') !== -1) { if (path.indexOf('?') === -1) {
path += '?search=' + query; path += '?search="' + query + '"';
} else { } else {
path += '&search=' + query; path += '&search="' + query + '"';
} }
path += '&currency_code=' + this.currencyCode; path += '&currency_code=' + this.currencyCode;
path += '&limit:10';
window.axios({ window.axios({
method: 'GET', method: 'GET',
url: path, url: path,