mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Make "arc tasks --unassigned" actually find unassigned tasks
Summary: Ref T3201. D6009 added this flag, but I don't think it actually works as advertised? We either need a Conduit patch to interpret `null` as `upforgrabs` (which seems 100% reasonable to me) or this (which is kind of nasty). @garoevans, was there a Phabricator-side diff for the conduit part that just got dropped? I'll probably replace this with that if not, but figured I'd check before I poke anything. Test Plan: Ran `arc diff --unassigned` Reviewers: garoevans Reviewed By: garoevans CC: aran Maniphest Tasks: T3201 Differential Revision: https://secure.phabricator.com/D6062
This commit is contained in:
parent
015258a256
commit
e434edc455
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ final class ManiphestTaskQuery extends PhabricatorQuery {
|
|||
public function withOwners(array $owners) {
|
||||
$this->includeUnowned = false;
|
||||
foreach ($owners as $k => $phid) {
|
||||
if ($phid == ManiphestTaskOwner::OWNER_UP_FOR_GRABS) {
|
||||
if ($phid == ManiphestTaskOwner::OWNER_UP_FOR_GRABS || $phid === null) {
|
||||
$this->includeUnowned = true;
|
||||
unset($owners[$k]);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue