Skip to content

Commit 529ab3e

Browse files
committed
Membership: fix pagination in subscriber and wait list tables (47405)
1 parent 2a72329 commit 529ab3e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

components/ILIAS/Membership/classes/class.ilSubscriberTableGUI.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
declare(strict_types=1);
2020

21-
use ILIAS\UI\Implementation\Factory as UIImplementationFactory;
21+
use ILIAS\UI\Factory as UIFactory;
2222
use ILIAS\UI\Renderer as UIRenderer;
2323

2424
/**
@@ -35,7 +35,7 @@ class ilSubscriberTableGUI extends ilTable2GUI
3535
protected ilObject $rep_object;
3636

3737
private UIRenderer $renderer;
38-
private UIImplementationFactory $uiFactory;
38+
private UIFactory $uiFactory;
3939

4040
public function __construct(
4141
object $a_parent_obj,
@@ -88,7 +88,6 @@ public function __construct(
8888
$this->addMultiCommand('addToClipboard', $this->lng->txt('clipboard_add_btn'));
8989
// end-patch clipboard
9090

91-
$this->setPrefix('subscribers');
9291
$this->setSelectAllCheckbox('subscribers', true);
9392
$this->setRowTemplate("tpl.show_subscribers_row.html", "components/ILIAS/Membership");
9493

components/ILIAS/Membership/classes/class.ilWaitingListTableGUI.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
declare(strict_types=1);
2020

21-
use ILIAS\UI\Implementation\Factory as UIImplementationFactory;
21+
use ILIAS\UI\Factory as UIFactory;
2222
use ILIAS\UI\Renderer as UIRenderer;
2323

2424
/**
@@ -37,7 +37,7 @@ class ilWaitingListTableGUI extends ilTable2GUI
3737
protected ilWaitingList $waiting_list;
3838

3939
private UIRenderer $renderer;
40-
private UIImplementationFactory $uiFactory;
40+
private UIFactory $uiFactory;
4141

4242
public function __construct(
4343
object $a_parent_obj,
@@ -54,7 +54,6 @@ public function __construct(
5454
$this->setId('crs_wait_' . $this->getRepositoryObject()->getId());
5555
parent::__construct($a_parent_obj, 'participants');
5656
$this->setFormName('waiting');
57-
$this->setPrefix('waiting');
5857

5958
$this->lng->loadLanguageModule('grp');
6059
$this->lng->loadLanguageModule('crs');
@@ -88,7 +87,6 @@ public function __construct(
8887
$this->addMultiCommand('addToClipboard', $this->lng->txt('clipboard_add_btn'));
8988
// end-patch clipboard
9089

91-
$this->setPrefix('waiting');
9290
$this->setSelectAllCheckbox('waiting', true);
9391

9492
$this->setRowTemplate("tpl.show_waiting_list_row.html", "components/ILIAS/Membership");

0 commit comments

Comments
 (0)