entry index changes #515
|
@ -161,9 +161,7 @@ module.exports = Self => {
|
||||||
stmt.merge(conn.makeGroupBy('b.entryFk'));
|
stmt.merge(conn.makeGroupBy('b.entryFk'));
|
||||||
stmt.merge(conn.makeOrderBy('t.landed DESC'));
|
stmt.merge(conn.makeOrderBy('t.landed DESC'));
|
||||||
joan marked this conversation as resolved
Outdated
|
|||||||
stmt.merge(conn.makeLimit(filter));
|
stmt.merge(conn.makeLimit(filter));
|
||||||
// stmts.push(stmt);
|
|
||||||
|
|
||||||
// stmt.merge(conn.makeSuffix(filter));
|
|
||||||
let itemsIndex = stmts.push(stmt) - 1;
|
let itemsIndex = stmts.push(stmt) - 1;
|
||||||
|
|
||||||
let sql = ParameterizedSQL.join(stmts, ';');
|
let sql = ParameterizedSQL.join(stmts, ';');
|
||||||
|
|
Loading…
Reference in New Issue
El orderBy no debería estar hardcodeado