mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-20 10:46:42 +00:00
Fix mods' comment list filter
This commit is contained in:
parent
362b3e3dfa
commit
d4fcd36b1b
@ -245,7 +245,7 @@ def view_user_comments(user_name):
|
||||
|
||||
comments_per_page = 100
|
||||
|
||||
comments_query = (models.Comment.query.filter(models.Comment.user_id)
|
||||
comments_query = (models.Comment.query.filter(models.Comment.user == user)
|
||||
.order_by(models.Comment.created_time.desc()))
|
||||
comments_query = comments_query.paginate_faste(page_number, per_page=comments_per_page, step=5)
|
||||
return flask.render_template('user_comments.html',
|
||||
|
Loading…
x
Reference in New Issue
Block a user