1
0
forked from Hay1tsme/artemis

mai2: Fixed cards not showing up

This commit is contained in:
Dniel97 2023-10-16 21:36:26 +02:00
parent d6e4db48f4
commit 862907b82a
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08

View File

@ -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