Skip to content

Commit

Permalink
Badges: Fix missing table id and sorting issues
Browse files Browse the repository at this point in the history
(cherry picked from commit 7fbabba)
  • Loading branch information
mjansenDatabay committed Dec 18, 2024
1 parent fbe18b8 commit 6273736
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ private function buildDataRetrievalObject(Factory $f, Renderer $r): DataRetrieva
{
return new class ($f, $r) implements DataRetrieval {
public function __construct(
private Factory $ui_factory,
private Renderer $ui_renderer
private readonly Factory $ui_factory,
private readonly Renderer $ui_renderer
) {
}

Expand Down
4 changes: 2 additions & 2 deletions components/ILIAS/Badge/classes/class.ilBadgeTypesTableGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ private function buildDataRetrievalObject(Factory $f, Renderer $r): DataRetrieva
{
return new class ($f, $r) implements DataRetrieval {
public function __construct(
private Factory $ui_factory,
private Renderer $ui_renderer
private readonly Factory $ui_factory,
private readonly Renderer $ui_renderer
) {
}

Expand Down
10 changes: 5 additions & 5 deletions components/ILIAS/Badge/classes/class.ilObjectBadgeTableGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class ilObjectBadgeTableGUI
private readonly Services $http;
private readonly ilLanguage $lng;
private readonly ilGlobalTemplateInterface $tpl;
private ilObjBadgeAdministrationGUI $parent_obj;
private ilAccess $access;
private readonly ilObjBadgeAdministrationGUI $parent_obj;
private readonly ilAccess $access;

public function __construct(ilObjBadgeAdministrationGUI $parentObj)
{
Expand Down Expand Up @@ -87,9 +87,9 @@ private function buildDataRetrievalObject(
private \ilAccessHandler $access;

public function __construct(
private Factory $ui_factory,
private Renderer $ui_renderer,
private ilObjBadgeAdministrationGUI $parent
private readonly Factory $ui_factory,
private readonly Renderer $ui_renderer,
private readonly ilObjBadgeAdministrationGUI $parent
) {
global $DIC;

Expand Down

0 comments on commit 6273736

Please sign in to comment.