mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Dont include automated comments in the recent comments sidebar
This commit is contained in:
parent
11a763310e
commit
032437c37b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from wowfunding.orm.orm import Proposal, User, Comment
|
|||
@app.context_processor
|
||||
def templating():
|
||||
from flask.ext.login import current_user
|
||||
recent_comments = db_session.query(Comment).order_by(Comment.date_added.desc()).limit(3).all()
|
||||
recent_comments = db_session.query(Comment).filter(Comment.automated == False).order_by(Comment.date_added.desc()).limit(3).all()
|
||||
summary_data = Summary.fetch_stats()
|
||||
return dict(logged_in=current_user.is_authenticated,
|
||||
current_user=current_user,
|
||||
|
|
Loading…
Reference in a new issue