From 5158c03ecf574b39aab08489e9861c37917fe8b4 Mon Sep 17 00:00:00 2001 From: iszmais <45942348+iszmais@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:46:00 +0200 Subject: [PATCH] Fix function call for comments rendering on records (#7734) --- .../classes/DetailedView/class.ilDclDetailedViewGUI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/DataCollection/classes/DetailedView/class.ilDclDetailedViewGUI.php b/Modules/DataCollection/classes/DetailedView/class.ilDclDetailedViewGUI.php index ec8883c7741f..5de75b40a4eb 100644 --- a/Modules/DataCollection/classes/DetailedView/class.ilDclDetailedViewGUI.php +++ b/Modules/DataCollection/classes/DetailedView/class.ilDclDetailedViewGUI.php @@ -314,7 +314,7 @@ public function doExtReplace(array $found): ?string protected function renderComments(bool $edit = false): string { if (!$edit) { - return $this->notesGUI->getCommentsHTML(); + return $this->notesGUI->getListHTML(); } else { return $this->notesGUI->editNoteForm(); } @@ -408,7 +408,7 @@ private function loadSession(): void ); //we then partially load the records. note that this also fills up session data. $this->table->getPartialRecords( - (string)$this->table->getId(), + (string) $this->table->getId(), $list->getOrderField(), $list->getOrderDirection(), $list->getLimit(),