From 78f049c30572240c14556a5f93ef4e7433a5a01c Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 2 Jun 2008 19:53:09 -0700 Subject: [PATCH] Fixed bug in model.Group SQL select. --- model/Group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )