Include current month in stats.

This commit is contained in:
Dominik Pantůček 2023-06-30 17:14:23 +02:00
parent 13985085ca
commit dfa740f05d

View file

@ -236,7 +236,7 @@
(let ((keys '(month total active suspended students destroyed invalid)))
(let mloop ((data '())
(month (members-base-oldest-month mb)))
(if (cal-month<? month (*current-month*))
(if (cal-month<=? month (*current-month*))
(let ((bi (with-current-month month
(mbase-info mb))))
(let kloop ((row (list (ldict-ref bi 'month)))