whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 67d6ebe: change default to 5 meetings; JSON off-by-one
Date Sun, 21 Feb 2016 07:47:25 GMT
Commit 67d6ebe6885b51b91309f8bc2513922c5b4245c5:
    change default to 5 meetings; JSON off-by-one


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/members/non-participants.cgi                             | +++ ---
------------------------------------------------------------
6 changes: 3 additions, 3 deletions.
------------------------------------------------------------


diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index d42a42c..d0d1517 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -59,7 +59,7 @@ end
 _html do
   _h1 'Non-participating active members'
 
-  @meetingsMissed = (@meetingsMissed || 7).to_i
+  @meetingsMissed = (@meetingsMissed || 5).to_i
 
   # selection
   _form_ do
@@ -96,9 +96,9 @@ _html do
 end
 
 _json do
-  meetingsMissed = (@meetingsMissed || 7).to_i
+  meetingsMissed = (@meetingsMissed || 5).to_i
   inactive = matrix.select {|id, name, missed| id and missed > meetingsMissed}
   Hash[inactive.map {|id, name, missed| 
-    [id, {name: name, missed: missed, status: 'no response yet'}]
+    [id, {name: name, missed: missed-1, status: 'no response yet'}]
   }]
 end

Mime
View raw message