Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/query/DifferentialRevisionQuery.php
| Show First 20 Lines • Show All 772 Lines • ▼ Show 20 Lines | /* -( Internals )---------------------------------------------------------- */ | ||||
| } | } | ||||
| /** | /** | ||||
| * @task internal | * @task internal | ||||
| */ | */ | ||||
| protected function shouldGroupQueryResultRows() { | protected function shouldGroupQueryResultRows() { | ||||
| $join_triggers = array_merge( | if (count($this->pathIDs) > 1) { | ||||
| $this->pathIDs, | return true; | ||||
| $this->ccs, | } | ||||
| $this->reviewers); | |||||
| if (count($this->ccs) > 1) { | |||||
| return true; | |||||
| } | |||||
| if (count($this->reviewers) > 1) { | |||||
| return true; | |||||
| } | |||||
| if (count($join_triggers) > 1) { | if (count($this->commitHashes) > 1) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| if ($this->noReviewers) { | if ($this->noReviewers) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| return parent::shouldGroupQueryResultRows(); | return parent::shouldGroupQueryResultRows(); | ||||
| ▲ Show 20 Lines • Show All 269 Lines • Show Last 20 Lines | |||||