whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: compare @meetingsMissed as an integer
Date Wed, 08 Aug 2018 18:50:38 GMT
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 af193ae  compare @meetingsMissed as an integer
af193ae is described below

commit af193ae68e0969f1f1b319993249df928107ce59
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Aug 8 14:50:21 2018 -0400

    compare @meetingsMissed as an integer
---
 www/members/non-participants.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index 721198f..2979b3e 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -53,7 +53,7 @@ _html do
           _span "List of members that have not participated, starting with the "
           _select name: 'meetingsMissed', onChange: 'this.form.submit()' do
             dates.reverse.each_with_index do |name, i|
-              _option name, value: i+1, selected: (i+1 == @meetingsMissed)
+              _option name, value: i+1, selected: (i+1 == @meetingsMissed.to_i)
             end
           end
           _span "meeting.  Active members does not include emeritus or deceased members.
Includes data thru #{attendance['dates'].last} meeting."


Mime
View raw message