diff --git a/templates/index.html.tera b/templates/index.html.tera index 7929f5b..bb0a145 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -33,7 +33,7 @@ {# --- START Events --- #} {% if day.planned_events | length > 0 %} - {% for planned_event in day.planned_events %} + {% for planned_event in day.planned_events | sort(attribute="planned_starting_time") %} {% set amount_cur_cox = planned_event.cox | length %} {% set amount_cox_missing = planned_event.planned_amount_cox - amount_cur_cox %}