Page MenuHomePhorge

D25676.1726794624.diff
No OneTemporary

D25676.1726794624.diff

diff --git a/src/applications/differential/query/DifferentialRevisionQuery.php b/src/applications/differential/query/DifferentialRevisionQuery.php
--- a/src/applications/differential/query/DifferentialRevisionQuery.php
+++ b/src/applications/differential/query/DifferentialRevisionQuery.php
@@ -466,9 +466,17 @@
$basic_authors = $this->authors;
$basic_reviewers = $this->reviewers;
+ $responsible_authors = array();
+ foreach ($this->responsibles as $responsible) {
+ $user_type = PhabricatorPeopleUserPHIDType::TYPECONST;
+ if (phid_get_type($responsible) === $user_type) {
+ $responsible_authors[] = $responsible;
+ }
+ }
+
try {
// Build the query where the responsible users are authors.
- $this->authors = array_merge($basic_authors, $this->responsibles);
+ $this->authors = array_merge($basic_authors, $responsible_authors);
$this->reviewers = $basic_reviewers;
$selects[] = $this->buildSelectStatement($conn);

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 20, 01:10 (8 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
892765
Default Alt Text
D25676.1726794624.diff (1 KB)

Event Timeline