diff --git a/wowfunding/bin/utils_request.py b/wowfunding/bin/utils_request.py index d63501a..9823a49 100644 --- a/wowfunding/bin/utils_request.py +++ b/wowfunding/bin/utils_request.py @@ -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,