You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/07/22 16:11:24 UTC
[whimsy] branch master updated: Sort weeks in the same order as
months
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 5b53ea7 Sort weeks in the same order as months
5b53ea7 is described below
commit 5b53ea70d4fca7ee5fae8ec9f91e25108e4d1a0a
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jul 22 17:11:20 2019 +0100
Sort weeks in the same order as months
---
www/officers/list-traffic.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/officers/list-traffic.cgi b/www/officers/list-traffic.cgi
index 3c05b4b..0bb842b 100755
--- a/www/officers/list-traffic.cgi
+++ b/www/officers/list-traffic.cgi
@@ -152,7 +152,7 @@ def display_weekly(months:, nondiscuss:)
_h1 "board@ list non-tool emails weekly statistics", id: "top"
_div.row do
_div.col.col_sm_offset_1.col_sm_9 do
- weeks.each do |week, senders|
+ weeks.sort.reverse.each do |week, senders|
total = 0
senders.each do |sender, count|
next if /@@/ =~ sender