fddf
parent
38c958b5a5
commit
c5d94649ec
|
@ -29,12 +29,12 @@ def notifications(v):
|
||||||
cids = v.notification_subscriptions(page=page, all_=all_)
|
cids = v.notification_subscriptions(page=page, all_=all_)
|
||||||
next_exists = (len(cids) == 26)
|
next_exists = (len(cids) == 26)
|
||||||
cids = cids[:25]
|
cids = cids[:25]
|
||||||
comments = get_comments(cids, v=v, sort="new")
|
comments = get_comments(cids, v=v)
|
||||||
else:
|
else:
|
||||||
cids = v.notification_commentlisting(page=page, all_=all_)
|
cids = v.notification_commentlisting(page=page, all_=all_)
|
||||||
next_exists = (len(cids) == 26)
|
next_exists = (len(cids) == 26)
|
||||||
cids = cids[:25]
|
cids = cids[:25]
|
||||||
comments = get_comments(cids, v=v, sort="new")
|
comments = get_comments(cids, v=v)
|
||||||
|
|
||||||
listing = []
|
listing = []
|
||||||
for c in comments:
|
for c in comments:
|
||||||
|
|
|
@ -562,7 +562,7 @@ def saved_comments(v, username):
|
||||||
|
|
||||||
ids=ids[:25]
|
ids=ids[:25]
|
||||||
|
|
||||||
listing = get_comments(ids, v=v, sort="new")
|
listing = get_comments(ids, v=v)
|
||||||
|
|
||||||
|
|
||||||
return {'html': lambda: render_template("userpage_comments.html",
|
return {'html': lambda: render_template("userpage_comments.html",
|
||||||
|
|
Loading…
Reference in New Issue