From 05d3706836ef5083086fa441eb28ce5cf6881449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 23 Feb 2021 19:46:53 +0300 Subject: [PATCH] Search and filter limit issue fixed.. --- resources/assets/js/components/AkauntingSearch.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/assets/js/components/AkauntingSearch.vue b/resources/assets/js/components/AkauntingSearch.vue index bea821fe5..ecec97864 100644 --- a/resources/assets/js/components/AkauntingSearch.vue +++ b/resources/assets/js/components/AkauntingSearch.vue @@ -264,6 +264,10 @@ export default { } if (option_url) { + if (option_url.indexOf('limit') === -1) { + option_url += ' limit:10'; + } + window.axios.get(option_url) .then(response => { this.values = []; @@ -385,6 +389,10 @@ export default { } if (!this.option_values[value] && option_url) { + if (option_url.indexOf('limit') === -1) { + option_url += ' limit:10'; + } + window.axios.get(option_url) .then(response => { let data = response.data.data;