You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2022/04/06 14:04:49 UTC

[whimsy] branch master updated: nope, fix count again

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 448fdbad nope, fix count again
448fdbad is described below

commit 448fdbad26c1893cdcb2026986600b862c558900
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Apr 6 10:04:37 2022 -0400

    nope, fix count again
---
 www/members/non-participants.cgi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index 2dc8545f..97e370dc 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -82,11 +82,11 @@ _html do
       matrix.each do |id, _name, first, missed|
         next unless id
 
-        count += 1
-        status = current_status[id]
-        next if @status and status != @status
-
         if missed >= @meetingsMissed
+          count += 1
+          status = current_status[id]
+          next if @status and status != @status
+
           _tr_ do
             _td! {_a nameMap[id], href: "#{ROSTER}/#{id}"}
             _td dates[-first-1] || dates.first