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 0baa1008 Allow sort by list as well as domain
0baa1008 is described below
commit 0baa1008ba20282b30f515e2ba684da04f1c88f8
Author: Sebb <[email protected]>
AuthorDate: Sun Apr 7 12:42:02 2024 +0100
Allow sort by list as well as domain
---
www/members/mailing_lists.cgi | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/www/members/mailing_lists.cgi b/www/members/mailing_lists.cgi
index ccd6f08e..9fa9ba65 100755
--- a/www/members/mailing_lists.cgi
+++ b/www/members/mailing_lists.cgi
@@ -106,6 +106,7 @@ _html do
_thead_ do
_tr do
_th 'list', data_sort: 'string'
+ _th 'domain', data_sort: 'string'
_th "flags #{filter}", data_sort: 'string'
_th 'Type (mu)', data_sort: 'string'
_th 'mod count', data_sort: 'int'
@@ -122,8 +123,11 @@ _html do
next if listfilter and ! lad.include? listfilter
mu = flags.tr('^muMU', '')
_tr do
+ _td data_sort_value: "#{list}-#{domain}" do
+ _a list, href: "https://lists.apache.org/list.html?#{lad}",
target: '_blank'
+ end
_td data_sort_value: "#{domain}-#{list}" do
- _a lad, href: "https://lists.apache.org/list.html?#{lad}",
target: '_blank'
+ _a domain, href: "https://lists.apache.org/list.html?#{lad}",
target: '_blank'
end
_td flags
_td do