initial stock configuration
This commit is contained in:
@@ -172,8 +172,9 @@ object Entities {
|
||||
where entity_name = :e
|
||||
and created_at between :from and :to
|
||||
and data @> cast(:search as jsonb)
|
||||
and deleted = false
|
||||
$createdFilter
|
||||
order by sysPk
|
||||
order by sysPk desc
|
||||
""".trimIndent()
|
||||
).create()
|
||||
)
|
||||
@@ -205,7 +206,7 @@ object Entities {
|
||||
.eq("entityName", entity.lowercase())
|
||||
.setFirstRow((pageNo - 1) * perPage)
|
||||
.setMaxRows(perPage)
|
||||
.orderBy("sysPk")
|
||||
.orderBy("sysPk desc")
|
||||
.findPagedList()
|
||||
|
||||
ctx.json(cnt)
|
||||
|
||||
Reference in New Issue
Block a user