ticket filter fix

This commit is contained in:
Joan Sanchez 2018-08-31 15:18:53 +02:00
parent f412d3c486
commit 1597d3c847
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ module.exports = Self => {
tp.problem
FROM tmp.filter f
LEFT JOIN tmp.ticketProblems tp ON tp.ticketFk = f.ticketFk`);
stmt.merge(Self.buildOrderBy(filter, 'f'));
stmt.merge(Self.buildOrderBy(filter));
let ticketsIndex = stmts.push(stmt) - 1;
stmts.push(