diff options
author | Thanos Apollo <[email protected]> | 2023-12-27 06:40:20 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-27 06:40:20 +0200 |
commit | ab26cb8c2c5d26b951fb6a407e4c7e45b4f55e3f (patch) | |
tree | b4b5939d7531a96b5b1c5f2f79f745144462e3c8 /gnosis.el | |
parent | db95f09fd7d9a3cc1fa260b7167922d3bde5b41a (diff) |
[fix] gnosis-review-due-notes fix typo & make sure suspend value 0
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -266,8 +266,8 @@ Returns a list of the form ((yyyy mm dd) ef)." Select notes where: - Next review date <= current date - Not suspended." - (emacsql gnosis-db [:select [id] :from review-log :where (and (<= next-rev ',(gnosis-algorithm-date)) - (not suspend))])) + (emacsql gnosis-db `[:select [id] :from review-log :where (and (<= next-rev ',(gnosis-algorithm-date)) + (= suspend 0))])) (defun gnosis-review--get-offset (id) "Get offset for note with value of id ID." |