You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/02/13 11:53:18 UTC
[whimsy.git] [1/1] Commit f16f279: Sort by name
Commit f16f2792c330782c20ab8ab9d7659d75e2762993:
Sort by name
Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>
------------------------------------------------------------
www/roster/views/committer.js.rb | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------
diff --git a/www/roster/views/committer.js.rb b/www/roster/views/committer.js.rb
index 21ebfd5..ae25d2b 100644
--- a/www/roster/views/committer.js.rb
+++ b/www/roster/views/committer.js.rb
@@ -41,7 +41,7 @@ def render
_tr do
_td 'Committees'
_td do
- _ul @@committer.committees do |pmc|
+ _ul @@committer.committees.sort do |pmc|
_li {_a pmc, href: "committee/#{pmc}"}
end
end
@@ -50,7 +50,7 @@ def render
_tr do
_td 'Groups'
_td do
- _ul @@committer.groups do |pmc|
+ _ul @@committer.groups.sort do |pmc|
next if @@committer.committees.include? pmc
_li {_a pmc, href: "committee/#{pmc}"}
end