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

sebb 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 e32593aa Sort by nominator(s)
e32593aa is described below

commit e32593aa41a5a55d32a0a2e8730d4cbd167ee1a9
Author: Sebb <s...@apache.org>
AuthorDate: Sun Mar 10 13:32:11 2024 +0000

    Sort by nominator(s)
---
 www/members/invitations.cgi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/members/invitations.cgi b/www/members/invitations.cgi
index 6d5561eb..f91b88fc 100755
--- a/www/members/invitations.cgi
+++ b/www/members/invitations.cgi
@@ -151,7 +151,8 @@ _html do
           _th 'nominator(s)'
         end
 
-        notinvited.each do |id, v|
+        # sort by nominators to make it easier to send reminders
+        notinvited.sort_by{|k,v| v[:nominators].join(', ')}.each do |id, v|
           _tr_ do
             _td id
             _td v[:name]

Reply via email to