entry index changes #515

Merged
carlosjr merged 12 commits from 2589-entry_index into dev 2021-04-01 14:49:46 +00:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit e9f408d5ba - Show all commits

View File

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

El orderBy no debería estar hardcodeado

El orderBy no debería estar hardcodeado
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, ';');