mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-03-12 13:56:55 +02:00
Fix mods' comment list filter
This commit is contained in:
parent
362b3e3dfa
commit
d4fcd36b1b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue