Filter fixed search issue solved.
This commit is contained in:
parent
cec1b03927
commit
77f4c9a71b
@ -252,7 +252,15 @@ export default {
|
||||
let option_url = this.selected_options[this.filter_index].url;
|
||||
|
||||
if (this.search) {
|
||||
option_url += '?search="' + this.search + '" limit:10';
|
||||
if (option_url.indexOf('?') === -1) {
|
||||
option_url += '?search="' + this.search + '" limit:10';
|
||||
} else {
|
||||
if (option_url.indexOf('search=') === -1) {
|
||||
option_url += '&search="' + this.search + '" limit:10';
|
||||
} else {
|
||||
option_url += ' "' + this.search + '" limit:10';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (option_url) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user