Skip to content
Snippets Groups Projects
Commit d08dc56c authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Don't show deleted items

parent cb3f74cd
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -250,7 +250,8 @@ def generate_sub_table(subs):
def get_substitutions_by_date(date):
subs_raw = run_default_filter(
run_using(models.Substitution.objects.filter(date=date_to_untis_date(date)).order_by("classids", "lesson")),
run_using(models.Substitution.objects.filter(date=date_to_untis_date(date), deleted=0).order_by("classids",
"lesson")),
filter_term=False)
# print(subs_raw)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment