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/05/11 20:57:20 UTC

[whimsy] branch master updated: allow filtered json output

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 fcf60efa allow filtered json output
fcf60efa is described below

commit fcf60efa1984e379765b2575d65281eb07ffa743
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed May 11 16:57:08 2022 -0400

    allow filtered json output
---
 www/members/non-participants.cgi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index 0ee339e8..4f33583f 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -129,5 +129,6 @@ _html do
 end
 
 _json do
-  ASF::MeetingUtil.tracker((@meetingsMissed || 3).to_i)
+  ASF::MeetingUtil.tracker((@meetingsMissed || 3).to_i).
+    select {|id, info| info['status'] == @status || @status == nil}.to_h
 end