From fa8825d4d0227fc5a66280de61432a0d6fb813b7 Mon Sep 17 00:00:00 2001 From: Gerard Date: Mon, 22 Oct 2018 14:32:46 +0200 Subject: [PATCH] #636 item.index --- services/loopback/common/methods/item/filter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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