summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index d99ae27..2d461c3 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -830,8 +830,8 @@ well."
(defun gnosis-review-get-due-notes ()
"Return a list due notes id for current date."
- (let ((notes (gnosis-select 'id 'notes)))
- (cl-loop for note in (apply #'append notes)
+ (let ((notes (gnosis-select 'id 'notes '1=1 t)))
+ (cl-loop for note in notes
when (gnosis-review-is-due-p note)
collect note)))