update
This commit is contained in:
@@ -153,10 +153,6 @@ def state(topic: str):
|
||||
"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,)),
|
||||
"diagramme": db.query(
|
||||
"SELECT d.id, d.baustein_id, d.typ, d.quelle, d.status, b.titel, b.ord"
|
||||
" FROM diagramme d JOIN bausteine b ON b.id=d.baustein_id"
|
||||
" WHERE d.topic=? AND d.status!='kein' ORDER BY b.ord, d.id", (topic,)),
|
||||
# topic-scoped: offene Befunde früherer Läufe bleiben nach Resume sichtbar
|
||||
"befunde": db.query(
|
||||
"SELECT b.* FROM befunde b JOIN runs r ON r.id=b.run_id"
|
||||
|
||||
Reference in New Issue
Block a user