1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00

Conduit user.query

Summary: specify user table to make things not ambiguous

Test Plan: conduit console still works, including ID query...!

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Maniphest Tasks: T1075

Differential Revision: https://secure.phabricator.com/D2419
This commit is contained in:
Bob Trahan 2012-05-07 13:47:06 -07:00
parent 758db327d3
commit 8c6fa3e62d

View file

@ -85,7 +85,7 @@ final class PhabricatorPeopleQuery extends PhabricatorOffsetPagedQuery {
if ($this->usernames) { if ($this->usernames) {
$where[] = qsprintf($conn_r, $where[] = qsprintf($conn_r,
'userName IN (%Ls)', 'user.userName IN (%Ls)',
$this->usernames); $this->usernames);
} }
if ($this->emails) { if ($this->emails) {
@ -95,17 +95,17 @@ final class PhabricatorPeopleQuery extends PhabricatorOffsetPagedQuery {
} }
if ($this->realnames) { if ($this->realnames) {
$where[] = qsprintf($conn_r, $where[] = qsprintf($conn_r,
'realName IN (%Ls)', 'user.realName IN (%Ls)',
$this->realnames); $this->realnames);
} }
if ($this->phids) { if ($this->phids) {
$where[] = qsprintf($conn_r, $where[] = qsprintf($conn_r,
'phid IN (%Ls)', 'user.phid IN (%Ls)',
$this->phids); $this->phids);
} }
if ($this->ids) { if ($this->ids) {
$where[] = qsprintf($conn_r, $where[] = qsprintf($conn_r,
'id IN (%Ld)', 'user.id IN (%Ld)',
$this->ids); $this->ids);
} }