Skip to content

Commit

Permalink
Filter fixed search issue solved.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Feb 23, 2021
1 parent cec1b03 commit 77f4c9a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/assets/js/components/AkauntingSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 77f4c9a

Please sign in to comment.