pr order by changes
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7c2f32db76
commit
0f17fca0a1
|
@ -159,7 +159,7 @@ module.exports = Self => {
|
|||
);
|
||||
stmt.merge(conn.makeWhere(filter.where));
|
||||
stmt.merge(conn.makeGroupBy('b.entryFk'));
|
||||
stmt.merge(conn.makeOrderBy('t.landed DESC'));
|
||||
stmt.merge(conn.makeOrderBy(filter.order));
|
||||
stmt.merge(conn.makeLimit(filter));
|
||||
|
||||
let itemsIndex = stmts.push(stmt) - 1;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
vn-id="model"
|
||||
url="Entries/filter"
|
||||
limit="20"
|
||||
order="landed DESC"
|
||||
auto-load="true">
|
||||
</vn-crud-model>
|
||||
<vn-portal slot="topbar">
|
||||
|
|
Loading…
Reference in New Issue