Commit c09b81f3 authored by Leigh Stoller's avatar Leigh Stoller

Another mysql 5.7 fix for this one:

'Expression #1 of ORDER BY clause is not in SELECT list, references
 column 'tbdb.m.date_approved' which is not in SELECT list; this is
 incompatible with DISTINCT'
parent 0c61f2f5
......@@ -294,7 +294,7 @@ class MyServer(SSL.ForkingSSLServer, SimpleXMLRPCDispatcher):
# Get the group list for the user.
#
def getusergroups(self, uid_idx):
res = DBQueryFatal("select distinct g.pid,g.unix_gid "
res = DBQueryFatal("select distinct g.pid,g.unix_gid,date_approved "
" from group_membership as m "
"left join groups as g on "
" g.pid_idx=m.pid_idx and g.gid_idx=m.gid_idx "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment