From 77a9c926197833f410546a499548993d963c1dd7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 12 May 2019 17:16:54 +0200 Subject: [PATCH] Set default sort oder for reaction types See #2508 --- .../lib/data/reaction/type/ReactionTypeList.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/reaction/type/ReactionTypeList.class.php b/wcfsetup/install/files/lib/data/reaction/type/ReactionTypeList.class.php index b392eac928..d8bec5853a 100644 --- a/wcfsetup/install/files/lib/data/reaction/type/ReactionTypeList.class.php +++ b/wcfsetup/install/files/lib/data/reaction/type/ReactionTypeList.class.php @@ -16,4 +16,9 @@ use wcf\data\DatabaseObjectList; * @method ReactionType|null search($objectID) * @property ReactionType[] $objects */ -class ReactionTypeList extends DatabaseObjectList {} +class ReactionTypeList extends DatabaseObjectList { + /** + * @inheritDoc + */ + public $sqlOrderBy = 'reaction_type.showOrder ASC'; +} -- 2.20.1