Remove limit for detailed reaction list
authorJoshua Rüsweg <ruesweg@woltlab.com>
Thu, 2 Jan 2020 14:31:12 +0000 (15:31 +0100)
committerJoshua Rüsweg <ruesweg@woltlab.com>
Thu, 2 Jan 2020 14:31:19 +0000 (15:31 +0100)
wcfsetup/install/files/lib/data/reaction/ReactionAction.class.php

index 80344ed893108adf203d4967257d5af860f780ab..74d9a013a77aa4def7092f26eaf40893b588102f 100644 (file)
@@ -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 = [];