Page MenuHomePhabricator

D13132.id.diff
No OneTemporary

D13132.id.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
Fri, Mar 28, 3:10 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223405
Default Alt Text
D13132.id.diff (720 B)

Event Timeline