Search and filter limit issue fixed..
This commit is contained in:
@ -264,6 +264,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (option_url) {
|
if (option_url) {
|
||||||
|
if (option_url.indexOf('limit') === -1) {
|
||||||
|
option_url += ' limit:10';
|
||||||
|
}
|
||||||
|
|
||||||
window.axios.get(option_url)
|
window.axios.get(option_url)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.values = [];
|
this.values = [];
|
||||||
@ -385,6 +389,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!this.option_values[value] && option_url) {
|
if (!this.option_values[value] && option_url) {
|
||||||
|
if (option_url.indexOf('limit') === -1) {
|
||||||
|
option_url += ' limit:10';
|
||||||
|
}
|
||||||
|
|
||||||
window.axios.get(option_url)
|
window.axios.get(option_url)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
let data = response.data.data;
|
let data = response.data.data;
|
||||||
|
Reference in New Issue
Block a user