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 13:19:05 UTC
[whimsy.git] [1/1] Commit 751cf47: Remove sort (does not work)
Commit 751cf472cd5848cf4abf0622f3654b9d7621b1a5:
Remove sort (does not work)
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 ae25d2b..21ebfd5 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.sort do |pmc|
+ _ul @@committer.committees 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.sort do |pmc|
+ _ul @@committer.groups do |pmc|
next if @@committer.committees.include? pmc
_li {_a pmc, href: "committee/#{pmc}"}
end