summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-26 09:55:29 +0200
committerThanos Apollo <[email protected]>2024-01-26 09:55:29 +0200
commitede4923305e31f9da4933653b89e37b311eeed7b (patch)
tree9eb290a8e0735d153e09faff0c7313b6b5c6f19a /gnosis.el
parentaf86aa3cc9fd9f281461eeeeca685671fb33c868 (diff)
gnosis-get-notes-for-deck: Use flatten argument
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
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.