branch: elpa/gnosis
commit 7350cdbad348f3a82c38fd3c9e00c0da222249b9
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    dashboard-history: Sort by date
---
 gnosis.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnosis.el b/gnosis.el
index e90a358d98..9fc98397d9 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -2843,6 +2843,8 @@ When called with called with a prefix, unsuspend all 
notes of deck."
               ("Total Reviews" ,(/ (window-width) 6) 
gnosis-dashboard-sort-total-notes)
               ("New" ,(/ (window-width) 6) gnosis-dashboard-sort-total-notes)])
       (make-local-variable 'tabulated-list-entries)
+      ;; Sort for date
+      (setq tabulated-list-sort-key (cons "Date" t))
       (setq tabulated-list-entries
             (cl-loop for entry in history
                      collect (list (car entry)

Reply via email to