changeset 888:7ca1f11ab5e8

Ensure sort by login name in grpaction()
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 22 Dec 2020 10:58:03 +0900
parents 8229c75e9f94
children 5843755e3b30
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Tue Dec 22 08:24:23 2020 +0900
+++ b/s4-funcs.sh	Tue Dec 22 10:58:03 2020 +0900
@@ -3139,7 +3139,7 @@
 	  post POST, team _TEAM_
 	FROM user_post up LEFT JOIN teams t
 	ON up.name=t.user
-	ORDER BY name;"
+	ORDER BY up.name;"
   ## err grpaction: "`echo \"$sql\"`"
   tf=$tmpd/title.$$
   echo "グループ[<a href=\"?grp+$grid\">$htmlgrp</a>]参加メンバーに対する操作" > $tf

yatex.org