disabled Items are shown in adding Item dropdown bar

This commit is contained in:
Cihan Şentürk 2021-12-01 12:17:16 +03:00
parent 01accaef68
commit 5dfd40351e

View File

@ -331,7 +331,7 @@ export default {
}, },
async fetchMatchedItems() { async fetchMatchedItems() {
await window.axios.get(url + '/common/items?search="' + this.search + '" limit:10') await window.axios.get(url + '/common/items?search=enabled:1 "' + this.search + '" limit:10')
.then(response => { .then(response => {
this.item_list = []; this.item_list = [];
let items = response.data.data; let items = response.data.data;