Skip to content

Commit

Permalink
Fix function call for comments rendering on records (ILIAS-eLearning#…
Browse files Browse the repository at this point in the history
  • Loading branch information
iszmais authored Jul 1, 2024
1 parent 3cc2571 commit 5158c03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit 5158c03

Please sign in to comment.