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

Allow Herald's "Reviewers" field to select project reviewers

Summary: The "Reviewers" condition in Differential Revision rules has the wrong typeahead and can't select projects, but should be able to.

Test Plan: {F79273}

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7526
This commit is contained in:
epriestley 2013-11-07 11:23:31 -08:00
parent 6324669748
commit 038f5323c0

View file

@ -598,6 +598,8 @@ abstract class HeraldAdapter {
return self::VALUE_OWNERS_PACKAGE; return self::VALUE_OWNERS_PACKAGE;
case self::FIELD_AUTHOR_PROJECTS: case self::FIELD_AUTHOR_PROJECTS:
return self::VALUE_PROJECT; return self::VALUE_PROJECT;
case self::FIELD_REVIEWERS:
return self::VALUE_USER_OR_PROJECT;
default: default:
return self::VALUE_USER; return self::VALUE_USER;
} }