mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
LEFT JOIN instead of JOIN for ApplicationSearch ordering
Summary: Ref T4659. Because we JOIN, tasks with no value are filtered out. Instead, LEFT JOIN. Test Plan: Issued an "Order by" and got all applicable tasks. Adjusted values and saw order change. Reviewers: btrahan, hach-que Reviewed By: hach-que Subscribers: epriestley Maniphest Tasks: T4659 Differential Revision: https://secure.phabricator.com/D10119
This commit is contained in:
parent
c4586664b3
commit
eafd7070ba
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ abstract class PhabricatorCursorPagedPolicyAwareQuery
|
||||||
|
|
||||||
$joins[] = qsprintf(
|
$joins[] = qsprintf(
|
||||||
$conn_r,
|
$conn_r,
|
||||||
'JOIN %T %T ON %T.objectPHID = %Q
|
'LEFT JOIN %T %T ON %T.objectPHID = %Q
|
||||||
AND %T.indexKey = %s',
|
AND %T.indexKey = %s',
|
||||||
$table,
|
$table,
|
||||||
$alias,
|
$alias,
|
||||||
|
|
Loading…
Reference in a new issue