Ticket filter test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
2aff48c42d
commit
7b94cc2942
|
@ -308,7 +308,7 @@ module.exports = Self => {
|
|||
|
||||
stmt.merge(conn.makeOrderBy(filter.order));
|
||||
stmt.merge(conn.makeLimit(filter));
|
||||
let ticketsIndex = stmts.push(stmt);
|
||||
let ticketsIndex = stmts.push(stmt) - 1;
|
||||
|
||||
stmts.push(
|
||||
`DROP TEMPORARY TABLE
|
||||
|
@ -320,6 +320,7 @@ module.exports = Self => {
|
|||
let sql = ParameterizedSQL.join(stmts, ';');
|
||||
let result = await conn.executeStmt(sql);
|
||||
|
||||
console.log(result);
|
||||
return result[ticketsIndex];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue