# HG changeset patch # User Mads Kiilerich # Date 2016-06-15 21:53:13 # Node ID c7dc1c7ace67a190aa8894bef56788af2f8d1e8c # Parent 7253d9974bbeb72ae0e26f2055d3ed829450597f notifications: convert the last get_for_user to query_for_user - this one was missed in 85bb68f64597 diff --git a/kallithea/controllers/admin/notifications.py b/kallithea/controllers/admin/notifications.py --- a/kallithea/controllers/admin/notifications.py +++ b/kallithea/controllers/admin/notifications.py @@ -87,8 +87,8 @@ class NotificationsController(BaseContro filter_=request.GET.getall('type')) Session().commit() c.user = self.authuser - notif = nm.get_for_user(self.authuser.user_id, - filter_=request.GET.getall('type')) + 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')