Chceme vsechna tematka, ne jen zadana.
This commit is contained in:
parent
b2b7b02bf3
commit
9cb27536ab
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ def check_uloha():
|
|||
def check_tema():
|
||||
old_query = """SELECT text_zadani, text_reseni, typ, c.rocnik_id AS rocnik_id
|
||||
FROM seminar_problemy
|
||||
INNER JOIN seminar_cisla AS c ON c.id = cislo_zadani_id
|
||||
LEFT OUTER JOIN seminar_cisla AS c ON c.id = cislo_zadani_id
|
||||
WHERE typ IN ('tema', 'serial')
|
||||
ORDER BY seminar_problemy.id"""
|
||||
new_query = """SELECT tema_typ, zad_text.na_web AS text_zadani, res_text.na_web AS text_reseni, rn.rocnik_id AS rocnik_id
|
||||
|
|
Loading…
Reference in a new issue