1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/people/query
epriestley 27104b57c8 Account for raw limits properly in CalendarEventQuery
Summary:
Fixes T8613. This was pretty straightforward, I just never dug into it originally.

`rawResultLimit = 0` just means "no limit", so the fix is to only apply a limit if it is set to some nonzero value.

Also modernize a few pieces of code.

Test Plan: I'm actually not sure this can actually be hit normally? I faked `setGenerateGhosts(true)` into an unrelated query, hit the fatal, then fixed it.

Reviewers: lpriestley, chad

Reviewed By: chad

Maniphest Tasks: T8613

Differential Revision: https://secure.phabricator.com/D15653
2016-04-07 08:39:27 -07:00
..
PhabricatorPeopleLogQuery.php Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
PhabricatorPeopleLogSearchEngine.php [Redesign] Remove AphrontTable restriction on Search Engine 2015-06-29 12:28:55 -07:00
PhabricatorPeopleQuery.php Account for raw limits properly in CalendarEventQuery 2016-04-07 08:39:27 -07:00
PhabricatorPeopleSearchEngine.php [Redesign] PhabricatorApplicationSearchResultView 2015-06-19 11:46:20 +01:00
PhabricatorPeopleTransactionQuery.php Implement PhabricatorApplicationTransactionInterface on PhabricatorUser 2015-06-08 13:35:57 -07:00