From 6a4ad409d73fe0e385a10cddc0c58dbd7021915b Mon Sep 17 00:00:00 2001 From: philipp Date: Fri, 12 May 2023 15:00:45 +0200 Subject: [PATCH] order planned_events by time --- templates/index.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}