mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Set display mode for Upcoming Events builtin query so that no $max_range
is set on the query
Summary: Fixes T8675, Set display mode for Upcoming Events builtin query so that no `$max_range` is set on the query Test Plan: Open Upcoming Events builtin query, max events returned should be size of the page (100 objects) Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T8675 Differential Revision: https://secure.phabricator.com/D13447
This commit is contained in:
parent
6cfbf481a5
commit
42fd13e793
1 changed files with 5 additions and 3 deletions
|
@ -228,9 +228,11 @@ final class PhabricatorCalendarEventSearchEngine
|
|||
case 'day':
|
||||
return $query->setParameter('display', 'day');
|
||||
case 'upcoming':
|
||||
return $query->setParameter('upcoming', array(
|
||||
0 => 'upcoming',
|
||||
));
|
||||
return $query
|
||||
->setParameter('display', 'list')
|
||||
->setParameter('upcoming', array(
|
||||
0 => 'upcoming',
|
||||
));
|
||||
case 'all':
|
||||
return $query;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue