Rename ManiphestTaskQuery::withProjects() to withAllProjects()
Summary: After D3630, make the API more clear: withAllProjects() vs withAnyProjects() Test Plan: Loaded project page, maniphest task query, reports, filtered by project and "noproject". Grep. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T1610 Differential Revision: https://secure.phabricator.com/D3631
This commit is contained in:
@@ -247,7 +247,7 @@ final class PhabricatorProjectProfileController
|
||||
PhabricatorProjectProfile $profile) {
|
||||
|
||||
$query = id(new ManiphestTaskQuery())
|
||||
->withProjects(array($project->getPHID()))
|
||||
->withAnyProjects(array($project->getPHID()))
|
||||
->withStatus(ManiphestTaskQuery::STATUS_OPEN)
|
||||
->setOrderBy(ManiphestTaskQuery::ORDER_PRIORITY)
|
||||
->setLimit(10)
|
||||
|
||||
Reference in New Issue
Block a user