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 1560ee8 Sort by name
1560ee8 is described below
commit 1560ee896f564b9f9834b4b95ba1d50b46d28b14
Author: Sebb <[email protected]>
AuthorDate: Mon Mar 7 11:26:16 2022 +0000
Sort by name
---
www/secretary/workbench/views/memapp.json.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/secretary/workbench/views/memapp.json.rb
b/www/secretary/workbench/views/memapp.json.rb
index 3de3b63..1255ede 100644
--- a/www/secretary/workbench/views/memapp.json.rb
+++ b/www/secretary/workbench/views/memapp.json.rb
@@ -14,4 +14,4 @@ end
# map contents to a hash
fields = %w(apply mail karma id name)
-{received: table.map {|results| fields.zip(results).to_h}}
+{received: table.map {|results| fields.zip(results).to_h}.sort_by {|k|
k['name']}}