summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-20 13:28:02 +0200
committerThanos Apollo <[email protected]>2024-02-20 13:28:02 +0200
commitf94b733e3381c499073708f711e743ceffbb9bd5 (patch)
tree1ab8480c7d9bf9e31920009404bb05c782880636 /gnosis.el
parent6f23150a8c7c4a67adbf1d67f6f4ec9ddd4c98f0 (diff)
[fix] gnosis-get-notes-for-deck
Deprecated use of gnosis-select
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 67f2e6b..6385e1a 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1181,9 +1181,9 @@ 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."
- (gnosis-select 'id 'notes `(= deck-id ,deck) '1=1 t))
+ (gnosis-select 'id 'notes `(= deck-id ,deck) t))
-(defun gnosis-export-note (id)
+(cl-defun gnosis-export-note (id &optional (export-for-deck nil))
"Export fields for note with value of id ID.
ID: Identifier of the note to export.