Browse Source

Fixed bug in model.Group SQL select.

Dan Helfman 10 years ago
parent
commit
78f049c305
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      model/Group.py

+ 2
- 2
model/Group.py View File

@@ -87,8 +87,8 @@ class Group( Persistent ):
87 87
       where
88 88
         user_group.group_id = %s and
89 89
         user_group.user_id = luminotes_user_current.id%s
90
-      order by user_group.username;
91
-      """ % quote( self.object_id )
90
+      order by luminotes_user_current.username;
91
+      """ % ( quote( self.object_id ), admin_clause )
92 92
 
93 93
   def to_dict( self ):
94 94
     d = Persistent.to_dict( self )