From 948259ee9221cb6f7b5c419707be92887af3960e Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 3 Jul 2012 06:25:03 -0700 Subject: [PATCH] Minor, restore missing limits from 310cf00fc3cce6a023ad160a29def26845d82e26 --- .../feed/controller/PhabricatorFeedPublicStreamController.php | 1 + .../people/controller/PhabricatorPeopleProfileController.php | 1 + .../project/controller/PhabricatorProjectProfileController.php | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/applications/feed/controller/PhabricatorFeedPublicStreamController.php b/src/applications/feed/controller/PhabricatorFeedPublicStreamController.php index e2f1dac839..c004068a5d 100644 --- a/src/applications/feed/controller/PhabricatorFeedPublicStreamController.php +++ b/src/applications/feed/controller/PhabricatorFeedPublicStreamController.php @@ -33,6 +33,7 @@ final class PhabricatorFeedPublicStreamController $query = new PhabricatorFeedQuery(); $query->setViewer($viewer); + $query->setLimit(100); $stories = $query->execute(); $builder = new PhabricatorFeedBuilder($stories); diff --git a/src/applications/people/controller/PhabricatorPeopleProfileController.php b/src/applications/people/controller/PhabricatorPeopleProfileController.php index 491f8a0a97..85ffb86a41 100644 --- a/src/applications/people/controller/PhabricatorPeopleProfileController.php +++ b/src/applications/people/controller/PhabricatorPeopleProfileController.php @@ -211,6 +211,7 @@ final class PhabricatorPeopleProfileController array( $user->getPHID(), )); + $query->setLimit(100); $query->setViewer($viewer); $stories = $query->execute(); diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php index ed51aa4f07..5f781a5609 100644 --- a/src/applications/project/controller/PhabricatorProjectProfileController.php +++ b/src/applications/project/controller/PhabricatorProjectProfileController.php @@ -78,6 +78,7 @@ final class PhabricatorProjectProfileController array( $project->getPHID(), )); + $query->setLimit(50); $query->setViewer($this->getRequest()->getUser()); $stories = $query->execute(); @@ -245,6 +246,7 @@ final class PhabricatorProjectProfileController $query = new PhabricatorFeedQuery(); $query->setFilterPHIDs(array($project->getPHID())); $query->setViewer($this->getRequest()->getUser()); + $query->setLimit(100); $stories = $query->execute(); if (!$stories) {