fdsfsd
This commit is contained in:
parent
1574901375
commit
f9b64ddd46
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Submission(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def bet_options(self):
|
def bet_options(self):
|
||||||
return g.db.query(Comment).filter_by(parent_submission = self.id, author_id = AUTOBETTER_ID, level=1).order_by(Comment.upvotes.desc())
|
return g.db.query(Comment).filter_by(parent_submission = self.id, author_id = AUTOBETTER_ID, level=1)
|
||||||
|
|
||||||
def total_poll_voted(self, v):
|
def total_poll_voted(self, v):
|
||||||
if v:
|
if v:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue