diff --git a/model/Group.py b/model/Group.py index 83c1fc0..1ca5330 100644 --- a/model/Group.py +++ b/model/Group.py @@ -87,8 +87,8 @@ class Group( Persistent ): where user_group.group_id = %s and user_group.user_id = luminotes_user_current.id%s - order by user_group.username; - """ % quote( self.object_id ) + order by luminotes_user_current.username; + """ % ( quote( self.object_id ), admin_clause ) def to_dict( self ): d = Persistent.to_dict( self )