From: Joshua Rüsweg Date: Thu, 2 Jan 2020 14:31:12 +0000 (+0100) Subject: Remove limit for detailed reaction list X-Git-Tag: 5.2.1~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7bf5c8e44f5d50c74559c253f195e768aa752153;p=GitHub%2FWoltLab%2FWCF.git Remove limit for detailed reaction list --- diff --git a/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php b/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php index 80344ed893..74d9a013a7 100644 --- a/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php +++ b/wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php @@ -93,6 +93,7 @@ class ReactionAction extends AbstractDatabaseObjectAction { $likeList->getConditionBuilder()->add('objectID = ?', [$this->parameters['data']['objectID']]); $likeList->getConditionBuilder()->add('objectTypeID = ?', [$this->objectType->objectTypeID]); $likeList->sqlOrderBy = 'time DESC'; + $likeList->sqlLimit = 0; $likeList->readObjects(); $data = [];