Changeset - a52cee88d612
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-07-11 00:11:45
marcin@python-works.com
fixed sorting in recipients query of notifications
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/db.py
Show inline comments
 
@@ -1608,7 +1608,7 @@ class Notification(Base, BaseModel):
 
    def recipients(self):
 
        return [x.user for x in UserNotification.query()\
 
                .filter(UserNotification.notification == self)\
 
                .order_by(UserNotification.user).all()]
 
                .order_by(UserNotification.user_id.asc()).all()]
 

	
 
    @classmethod
 
    def create(cls, created_by, subject, body, recipients, type_=None):
0 comments (0 inline, 0 general)