From 1002fb11d8ed506750693b7ec2ec29507e013fc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Mon, 19 Jun 2017 23:03:16 +0200 Subject: [PATCH] Add defaultLimit for UserListBoxControllers The default limit attribute activates the default limit input, so that the user can select an object limit for a user box. --- .../files/lib/system/box/UserListBoxController.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php index 3454ef60ae..d85e47f765 100644 --- a/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/UserListBoxController.class.php @@ -30,6 +30,11 @@ class UserListBoxController extends AbstractDatabaseObjectListBoxController { 'registrationDate' => NewestMembersCacheBuilder::class ]; + /** + * @inheritDoc + */ + public $defaultLimit = 5; + /** * @inheritDoc */ -- 2.20.1