summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-04 10:23:15 +0200
committerThanos Apollo <[email protected]>2024-01-04 10:23:31 +0200
commit049c5384dd6c8f915dbd25782cfa96ea960eaa44 (patch)
treecead65164137f2719e7634542ea8090e98587b77
parent4aff673cd946f880012486bc2d0d6254ce29bf32 (diff)
gnosis-review: Fix review of due notes of specified tags
This should be renamed soon as well...
-rw-r--r--gnosis.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnosis.el b/gnosis.el
index f65e599..e654db6 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1202,11 +1202,8 @@ review."
(pcase review-type
("Due notes" (gnosis-review--session (gnosis-review-get-due-notes)))
("Due notes of deck" (gnosis-review--session (gnosis-get-deck-due-notes)))
- ("Due notes of specified tag(s)" (gnosis-review--session
- (gnosis-select-by-tag
- (list (completing-read "Start session for tag: "
- (gnosis-review-due-notes--with-tags))))))
- ("All notes of tag(s)" (gnosis-review--session (gnosis-select-by-tag (gnosis-tag-prompt nil t)))))))
+ ("Due notes of specified tag(s)" (gnosis-review--session (gnosis-tag-prompt :match t :due t)))
+ ("All notes of tag(s)" (gnosis-review--session (gnosis-select-by-tag (gnosis-tag-prompt :match t)))))))
;;; Database Schemas
(defvar gnosis-db-schema-decks '([(id integer :primary-key :autoincrement)