Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions montage/rdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,8 @@ def from_round(cls, user_dao, round_id):
def get_campaign_rounds(self, campaign, with_cancelled=False):
q = self.query(Round).filter_by(campaign=campaign)
if not with_cancelled:
q.filter(Round.status != CANCELLED_STATUS)
q.order_by(Round.create_date)
q = q.filter(Round.status != CANCELLED_STATUS)
q = q.order_by(Round.create_date)
return q.all()

def get_active_jurors(self, round_id):
Expand Down