whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] 02/02: Sort by description
Date Mon, 25 Nov 2019 16:16:17 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

commit ba881c5db8bd141fb21727312df7e9e5c5dac043
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Nov 25 16:16:11 2019 +0000

    Sort by description
---
 www/committers/tools.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/committers/tools.cgi b/www/committers/tools.cgi
index 246e404..b4cba65 100755
--- a/www/committers/tools.cgi
+++ b/www/committers/tools.cgi
@@ -53,7 +53,7 @@ _html do
           _li.list_group_item.active do
             _span category.capitalize, id: category
           end
-          links.each do |l, desc|
+          links.sort_by{|k,v| v}.each do |l, desc|
             _li.list_group_item do
               if 2 == desc.length
                 _span.glyphicon :aria_hidden, class: "#{AUTHPUBLIC}"


Mime
View raw message