This commit is contained in:
Gerard 2018-10-22 14:32:46 +02:00
parent 1a116df136
commit fa8825d4d0
1 changed files with 3 additions and 1 deletions

View File

@ -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