Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2933052
D25676.1737750967.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25676.1737750967.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 20:36 (5 d, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113746
Default Alt Text
D25676.1737750967.diff (1 KB)
Attached To
Mode
D25676: Fix responsible authors in DifferentialRevisionQuery
Attached
Detach File
Event Timeline
Log In to Comment