Changeset - c7dc1c7ace67
[Not reviewed]
default
0 1 0
Mads Kiilerich - 9 years ago 2016-06-15 21:53:13
madski@unity3d.com
notifications: convert the last get_for_user to query_for_user - this one was missed in 85bb68f64597
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/controllers/admin/notifications.py
Show inline comments
 
@@ -84,13 +84,13 @@ class NotificationsController(BaseContro
 
            nm = NotificationModel()
 
            # mark all read
 
            nm.mark_all_read_for_user(self.authuser.user_id,
 
                                      filter_=request.GET.getall('type'))
 
            Session().commit()
 
            c.user = self.authuser
 
            notif = nm.get_for_user(self.authuser.user_id,
 
            notif = nm.query_for_user(self.authuser.user_id,
 
                                    filter_=request.GET.getall('type'))
 
            c.notifications = Page(notif, page=1, items_per_page=10)
 
            return render('admin/notifications/notifications_data.html')
 

	
 
    def create(self):
 
        """POST /_admin/notifications: Create a new item"""
0 comments (0 inline, 0 general)