s4
changeset 677:bdf33fbd977b
Sort team names
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 13 May 2020 10:48:59 +0900 |
parents | cd6f0badcff4 |
children | db77378201ab |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Wed May 13 10:45:23 2020 +0900 1.2 +++ b/s4-funcs.sh Wed May 13 10:48:59 2020 +0900 1.3 @@ -2405,7 +2405,7 @@ 1.4 hexteams() { # $1=gname, $2(optional)=user 1.5 cond=${2:+" AND user='$2'"} 1.6 query "SELECT DISTINCT hex(val) FROM grp_mem_m 1.7 - WHERE gname='$1' AND key='team'$cond;" 1.8 + WHERE gname='$1' AND key='team'$cond ORDER by val;" 1.9 } 1.10 showgroup() { # $1=group-rowid 1.11 if [ -z "$1" ]; then