Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/query/PhabricatorFileQuery.php
| Show First 20 Lines • Show All 385 Lines • ▼ Show 20 Lines | if ($this->transforms !== null) { | ||||
| } else { | } else { | ||||
| $clauses[] = qsprintf( | $clauses[] = qsprintf( | ||||
| $conn, | $conn, | ||||
| '(t.originalPHID = %s AND t.transform = %s)', | '(t.originalPHID = %s AND t.transform = %s)', | ||||
| $transform['originalPHID'], | $transform['originalPHID'], | ||||
| $transform['transform']); | $transform['transform']); | ||||
| } | } | ||||
| } | } | ||||
| $where[] = qsprintf($conn, '(%Q)', implode(') OR (', $clauses)); | $where[] = qsprintf($conn, '%LO', $clauses); | ||||
| } | } | ||||
| if ($this->dateCreatedAfter !== null) { | if ($this->dateCreatedAfter !== null) { | ||||
| $where[] = qsprintf( | $where[] = qsprintf( | ||||
| $conn, | $conn, | ||||
| 'f.dateCreated >= %d', | 'f.dateCreated >= %d', | ||||
| $this->dateCreatedAfter); | $this->dateCreatedAfter); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines | |||||