Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/query/PhabricatorOwnersPackageQuery.php
| Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | if ($this->controlMap) { | ||||
| $indexes = $this->getFragmentIndexesForPaths($paths); | $indexes = $this->getFragmentIndexesForPaths($paths); | ||||
| $clauses[] = qsprintf( | $clauses[] = qsprintf( | ||||
| $conn, | $conn, | ||||
| '(rpath.repositoryPHID = %s AND rpath.pathIndex IN (%Ls))', | '(rpath.repositoryPHID = %s AND rpath.pathIndex IN (%Ls))', | ||||
| $repository_phid, | $repository_phid, | ||||
| $indexes); | $indexes); | ||||
| } | } | ||||
| $where[] = implode(' OR ', $clauses); | $where[] = qsprintf($conn, '%LO', $clauses); | ||||
epriestley: Unrelated `qsprintf()` fix, repro is to load revisions with some (particular?) packages… | |||||
| } | } | ||||
| return $where; | return $where; | ||||
| } | } | ||||
| protected function shouldGroupQueryResultRows() { | protected function shouldGroupQueryResultRows() { | ||||
| if ($this->shouldJoinOwnersTable()) { | if ($this->shouldJoinOwnersTable()) { | ||||
| return true; | return true; | ||||
| ▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines | |||||
Unrelated qsprintf() fix, repro is to load revisions with some (particular?) packages configured.