whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Sort entries by id
Date Wed, 19 Apr 2017 20:32:55 GMT
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  0c7a112   Sort entries by id
0c7a112 is described below

commit 0c7a1126d7352c5ac7f540157230a23204aef65d
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Apr 19 21:30:32 2017 +0100

    Sort entries by id
---
 www/roster/public_committee_info.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/public_committee_info.rb b/www/roster/public_committee_info.rb
index 266b687..d3313fc 100644
--- a/www/roster/public_committee_info.rb
+++ b/www/roster/public_committee_info.rb
@@ -53,7 +53,7 @@ info[:committees] = Hash[committees.map {|committee|
     # "chair": { "availid": { "name": "Public Name" } }
     chair: Hash[committee.chairs.map {|chair|
       [chair[:id], :name => chair[:name] ]}],
-    roster: committee.roster,
+    roster: committee.roster.sort.to_h, # sort entries by uid
     pmc: !ASF::Committee.nonpmcs.include?(committee)
   }]
 }]

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message