Merge pull request #2324 from CihanSenturk/master

Disabled Items are shown in adding Item dropdown bar
This commit is contained in:
Cüneyt Şentürk 2021-12-01 12:57:11 +03:00 committed by GitHub
commit 987373b022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,7 +331,7 @@ export default {
},
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 => {
this.item_list = [];
let items = response.data.data;