Fixed bug in model.Group SQL select.
This commit is contained in:
parent
8d3783825a
commit
78f049c305
|
@ -87,8 +87,8 @@ class Group( Persistent ):
|
||||||
where
|
where
|
||||||
user_group.group_id = %s and
|
user_group.group_id = %s and
|
||||||
user_group.user_id = luminotes_user_current.id%s
|
user_group.user_id = luminotes_user_current.id%s
|
||||||
order by user_group.username;
|
order by luminotes_user_current.username;
|
||||||
""" % quote( self.object_id )
|
""" % ( quote( self.object_id ), admin_clause )
|
||||||
|
|
||||||
def to_dict( self ):
|
def to_dict( self ):
|
||||||
d = Persistent.to_dict( self )
|
d = Persistent.to_dict( self )
|
||||||
|
|
Reference in New Issue