summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-23 18:43:18 +0300
committerThanos Apollo <[email protected]>2024-07-23 18:43:18 +0300
commit5d74e3fa6f203477610d3f8d8b1838f4b3027ff9 (patch)
treec7d02ef1cded5e05ee1be9bdcaab7aba5f93f1bf
parent538a7d3a500a9a4757e44f086d225a289eb5537d (diff)
Review: Increment new note entries.
* Use gnosis-review-is-note-new-p with gnosis-review-increment-activity-log to update activity-log properly for total notes & new notes.
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index d3673bd..1a425cc 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1489,7 +1489,7 @@ SUCCESS is a boolean value, t for success, nil for failure."
(let ((ef (cadr (gnosis-review-algorithm id success)))
(next-rev (car (gnosis-review-algorithm id success))))
;; Update activity-log
- (gnosis-review-increment-activity-log)
+ (gnosis-review-increment-activity-log (gnosis-review-is-note-new-p id))
;; Update review-log
(gnosis-update 'review-log `(= last-rev ',(gnosis-algorithm-date)) `(= id ,id))
(gnosis-update 'review-log `(= next-rev ',next-rev) `(= id ,id))