diff --git a/services/loopback/common/methods/item/filter.js b/services/loopback/common/methods/item/filter.js index 8334e77d8..8aadf77bb 100644 --- a/services/loopback/common/methods/item/filter.js +++ b/services/loopback/common/methods/item/filter.js @@ -30,7 +30,9 @@ module.exports = Self => { Self.filter = async(filter, tags) => { let stmt = new ParameterizedSQL( - `SELECT i.id, i.image, i.name, i.description, i.size, + `SELECT i.id, i.image, i.name, i.description, + i.size, i.tag5, i.value5, i.tag6, i.value6, + i.tag7, i.value7, i.tag8, i.value8, t.name type, w.firstName, w.name worker FROM item i JOIN itemType t ON t.id = i.typeFk