From 66004b5985660eb2f4c450611211926ad17f514e Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Wed, 10 Jan 2024 15:35:45 +0100 Subject: [PATCH] pkp/pkp-lib#9552 order user groups by ID per default --- classes/userGroup/Collector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/userGroup/Collector.php b/classes/userGroup/Collector.php index 5b1528d2b7a..a4fcdba1ad6 100644 --- a/classes/userGroup/Collector.php +++ b/classes/userGroup/Collector.php @@ -30,7 +30,7 @@ class Collector implements CollectorInterface public const ORDERBY_ROLE_ID = 'roleId'; public const ORDERBY_ID = 'id'; - public ?string $orderBy = null; + public ?string $orderBy = self::ORDERBY_ID; /** @var DAO */ public $dao; @@ -62,7 +62,7 @@ class Collector implements CollectorInterface public ?int $offset = null; public UserUserGroupStatus $userUserGroupStatus = UserUserGroupStatus::STATUS_ACTIVE; - + public ?bool $masthead = null;