From ede4923305e31f9da4933653b89e37b311eeed7b Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 26 Jan 2024 09:55:29 +0200 Subject: gnosis-get-notes-for-deck: Use flatten argument --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index 2d461c3..e381c54 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1186,7 +1186,7 @@ SECOND-IMAGE: Image to display after user-input" (cl-defun gnosis-get-notes-for-deck (&optional (deck (gnosis--get-deck-id))) "Return a list of ID vlaues for each note with value of deck-id DECK." - (apply #'append (gnosis-select 'id 'notes `(= deck-id ,deck)))) + (gnosis-select 'id 'notes `(= deck-id ,deck) '1=1 t)) (defun gnosis-export-note (id) "Export fields for note with value of id ID. -- cgit v1.2.3