fd
This commit is contained in:
parent
120fe50811
commit
4fb2283352
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def notifications(v):
|
|||
notifs.append({'id': x.id, 'read': True})
|
||||
comments.append(c)
|
||||
|
||||
g.db.bulk_update_mappings(User, notifs)
|
||||
g.db.bulk_update_mappings(Notification, notifs)
|
||||
next_exists = (len(comments) > 25)
|
||||
listing = comments[:25]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue