Select remote fixed searching value..

This commit is contained in:
Cüneyt Şentürk
2021-01-13 00:09:29 +03:00
parent 64dee4cfde
commit 152e5db02b
9 changed files with 17 additions and 17 deletions

View File

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