1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

More-robust search for task assignees

Summary: See discussion in D19415.

Test Plan: Searched for some owners, found tasks as expected.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D19417
This commit is contained in:
Austin McKinley 2018-04-30 12:10:37 -07:00
parent ef48a2b2ee
commit dd6e82698a

View file

@ -585,7 +585,7 @@ final class ManiphestTaskQuery extends PhabricatorCursorPagedPolicyAwareQuery {
'task.ownerPHID IS NOT NULL'); 'task.ownerPHID IS NOT NULL');
} }
if ($this->ownerPHIDs) { if ($this->ownerPHIDs !== null) {
$subclause[] = qsprintf( $subclause[] = qsprintf(
$conn, $conn,
'task.ownerPHID IN (%Ls)', 'task.ownerPHID IN (%Ls)',