From f0d9a4373390e69b3f4ac7e26faffec3b26718eb Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Sat, 13 Sep 2025 11:08:19 +0200 Subject: [PATCH] fix LvPlan not rendering Events in timeGrid correctly --- application/controllers/api/frontend/v1/LvPlan.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/api/frontend/v1/LvPlan.php b/application/controllers/api/frontend/v1/LvPlan.php index 3b6b55911..28b48e3f1 100644 --- a/application/controllers/api/frontend/v1/LvPlan.php +++ b/application/controllers/api/frontend/v1/LvPlan.php @@ -176,6 +176,7 @@ class LvPlan extends FHCAPI_Controller { $this->load->model('ressource/Stunde_model', 'StundeModel'); + $this->StundeModel->addOrder('stunde', 'ASC'); $stunden = $this->StundeModel->load(); $stunden = $this->getDataOrTerminateWithError($stunden);