update
This commit is contained in:
@@ -182,6 +182,7 @@ def state(topic: str):
|
||||
{"verifiziert": 0, "gesamt": ziel_gesamt})}
|
||||
for a in atome],
|
||||
"lernziele": db.query("SELECT * FROM lernziele WHERE topic=? ORDER BY id", (topic,)),
|
||||
"themen": db.query("SELECT * FROM themen WHERE topic=? ORDER BY ord", (topic,)),
|
||||
"bausteine": db.query(
|
||||
"SELECT b.*, s.stage FROM bausteine b LEFT JOIN sections s ON s.baustein_id=b.id"
|
||||
" WHERE b.topic=? ORDER BY b.ord", (topic,)),
|
||||
|
||||
Reference in New Issue
Block a user