Christopher Johnson (WMDE) has uploaded a new change for review. https://gerrit.wikimedia.org/r/208941
Change subject: removes withAnyProjects method from getTasks ...................................................................... removes withAnyProjects method from getTasks adds withEdgeLogicPHIDs instead Bug: T97873 Change-Id: Icb550c9b033f5c8d1cee3132dd1095bb511f1663 --- M src/query/SprintQuery.php 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/phabricator/extensions/Sprint refs/changes/41/208941/1 diff --git a/src/query/SprintQuery.php b/src/query/SprintQuery.php index 58da39c..74dddb5 100644 --- a/src/query/SprintQuery.php +++ b/src/query/SprintQuery.php @@ -72,7 +72,10 @@ public function getTasks() { $tasks = id(new ManiphestTaskQuery()) ->setViewer($this->viewer) - ->withAnyProjects(array($this->project->getPHID())) + ->withEdgeLogicPHIDs( + PhabricatorProjectObjectHasProjectEdgeType::EDGECONST, + PhabricatorQueryConstraint::OPERATOR_OR, + array($this->project->getPHID())) ->needProjectPHIDs(true) ->execute(); if (empty($tasks)) { -- To view, visit https://gerrit.wikimedia.org/r/208941 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icb550c9b033f5c8d1cee3132dd1095bb511f1663 Gerrit-PatchSet: 1 Gerrit-Project: phabricator/extensions/Sprint Gerrit-Branch: master Gerrit-Owner: Christopher Johnson (WMDE) <christopher.john...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits