Commit f16f2792c330782c20ab8ab9d7659d75e2762993:
Sort by name
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
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