Page MenuHomePhabricator

D13132.id31701.diff
No OneTemporary

D13132.id31701.diff

diff --git a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
--- a/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
+++ b/src/applications/calendar/query/PhabricatorCalendarEventSearchEngine.php
@@ -462,7 +462,11 @@
}
public function getPageSize(PhabricatorSavedQuery $saved) {
- return $saved->getParameter('limit', 1000);
+ if ($this->isMonthView($saved) || $this->isDayView($saved)) {
+ return $saved->getParameter('limit', 1000);
+ } else {
+ return $saved->getParameter('limit', 100);
+ }
}
private function getDateFrom(PhabricatorSavedQuery $saved) {

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 19, 5:28 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223405
Default Alt Text
D13132.id31701.diff (720 B)

Event Timeline