order planned_events by time

This commit is contained in:
philipp 2023-05-12 15:00:45 +02:00
parent 6064261311
commit 6a4ad409d7

View File

@ -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 %}
<div class="pt-2">