forked from rDrama/rDrama
1
0
Fork 0
Aevann 2024-02-18 21:54:23 +02:00
parent 918adb2c22
commit ce2b6c196b
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ def upvoting_downvoting(v, username, username2, cls, vote_cls, vote_dir, templat
page = get_page()
listing = g.db.query(cls).options(load_only(cls.id)).join(vote_cls).filter(
cls.draft == False,
cls.ghost == False,
cls.is_banned == False,
cls.deleted_utc == 0,