From 0907dacae18e3bde9759ba3cc945b24e75b6f1e8 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Thu, 1 Sep 2022 10:19:37 -0500 Subject: [PATCH] Tweak anonymous patron count SQL --- www/about/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/about/index.php b/www/about/index.php index eb21ada5..4517dae1 100644 --- a/www/about/index.php +++ b/www/about/index.php @@ -25,7 +25,7 @@ $anonymousPatronCount = Db::QueryInt('SELECT sum(cnt) UserId is null and ( - (Amount >= 100 and Created >= utc_timestamp() - interval 1 year) + (Amount >= 100 and IsRecurring = false and Created >= utc_timestamp() - interval 1 year) or (Amount >= 10 and IsRecurring = true and Created >= utc_timestamp() - interval 30 day) )