@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

List view should only allow 100 ghost events per recurring event.

Summary: Ref T8394, List view should only allow 100 ghost events per recurring event

Test Plan: Open list view with many recurring events. Shouldn't hang.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8394

Differential Revision: https://secure.phabricator.com/D13132

+5 -1
+5 -1
src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
··· 462 462 } 463 463 464 464 public function getPageSize(PhabricatorSavedQuery $saved) { 465 - return $saved->getParameter('limit', 1000); 465 + if ($this->isMonthView($saved) || $this->isDayView($saved)) { 466 + return $saved->getParameter('limit', 1000); 467 + } else { 468 + return $saved->getParameter('limit', 100); 469 + } 466 470 } 467 471 468 472 private function getDateFrom(PhabricatorSavedQuery $saved) {