updates roomEvents on change:range / groups the results of a studenplan query

This commit is contained in:
SimonGschnell
2024-08-06 14:29:24 +02:00
parent e44c1bccb3
commit 46a0706057
4 changed files with 116 additions and 72 deletions
@@ -30,12 +30,14 @@ class Stundenplan extends Auth_Controller
{
$this->load->model('ressource/Stundenplan_model', 'StundenplanModel');
$result = $this->StundenplanModel->loadForUid(get_uid());
/* $result = $this->StundenplanModel->loadForUid(get_uid());
if (isError($result))
return $this->outputJsonError(getError($result));
$this->outputJsonSuccess(getData($result));
*/
$res = $this->StundenplanModel->stundenPlanGruppierung($this->StundenplanModel->getStudenPlanQuery(get_uid()));
$res = getData($res);
$this->outputJsonSuccess($res);
}
/**