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,7 +228,9 @@ final class PhabricatorCalendarEventSearchEngine
|
||||||
case 'day':
|
case 'day':
|
||||||
return $query->setParameter('display', 'day');
|
return $query->setParameter('display', 'day');
|
||||||
case 'upcoming':
|
case 'upcoming':
|
||||||
return $query->setParameter('upcoming', array(
|
return $query
|
||||||
|
->setParameter('display', 'list')
|
||||||
|
->setParameter('upcoming', array(
|
||||||
0 => 'upcoming',
|
0 => 'upcoming',
|
||||||
));
|
));
|
||||||
case 'all':
|
case 'all':
|
||||||
|
|
Loading…
Reference in a new issue