forked from Hay1tsme/artemis
mai2: Fixed cards not showing up
This commit is contained in:
parent
d6e4db48f4
commit
862907b82a
@ -489,6 +489,8 @@ class Mai2ItemData(BaseData):
|
|||||||
else:
|
else:
|
||||||
sql = card.select(and_(card.c.user == user_id, card.c.cardKind == kind))
|
sql = card.select(and_(card.c.user == user_id, card.c.cardKind == kind))
|
||||||
|
|
||||||
|
sql = sql.order_by(card.c.startDate.desc())
|
||||||
|
|
||||||
result = self.execute(sql)
|
result = self.execute(sql)
|
||||||
if result is None:
|
if result is None:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user