Sort log lines newest-first
This commit is contained in:
parent
7922185557
commit
96511ee17c
@ -145,7 +145,7 @@
|
|||||||
(let ((base (format "SELECT %s FROM %s"
|
(let ((base (format "SELECT %s FROM %s"
|
||||||
structlog-db-record-field
|
structlog-db-record-field
|
||||||
structlog-db-table))
|
structlog-db-table))
|
||||||
(order-by (format "ORDER BY %s->'%s'"
|
(order-by (format "ORDER BY %s->'%s' DESC"
|
||||||
structlog-db-record-field
|
structlog-db-record-field
|
||||||
structlog-time-field))
|
structlog-time-field))
|
||||||
(limit (plist-get query :limit))
|
(limit (plist-get query :limit))
|
||||||
|
Loading…
Reference in New Issue
Block a user