1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

Limit notifications to latest 10, instead of 15

Summary: This panel just gets super tall at 15 now that date is on it's own line.

Test Plan: Reload panel, count to 10.

Reviewers: epriestley

Reviewed By: epriestley

Spies: Korvin

Differential Revision: https://secure.phabricator.com/D18486
This commit is contained in:
Chad Little 2017-08-28 15:10:25 -07:00
parent f97157e7ed
commit 0609133f45

View file

@ -9,7 +9,7 @@ final class PhabricatorNotificationPanelController
$query = id(new PhabricatorNotificationQuery())
->setViewer($viewer)
->withUserPHIDs(array($viewer->getPHID()))
->setLimit(15);
->setLimit(10);
$stories = $query->execute();