mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 15:21:03 +01:00
fix perf regression when using 'owned' query
Summary: D6335 has some unexpected side effects. This adds back the where clause for the owned query. There may be other problems. Test Plan: Ran: ``` echo '{"query":"owned","guids":["myphid"]}' | arc --conduit-uri=https://myhost call-conduit differential.find ``` Reviewers: epriestley, dschleimer Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6832
This commit is contained in:
parent
5138bf8bff
commit
7b5471b1ae
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,9 @@ final class ConduitAPI_differential_find_Method extends ConduitAPIMethod {
|
|||
$query
|
||||
->withIDs($guids);
|
||||
break;
|
||||
case 'owned':
|
||||
$query->withAuthors($guids);
|
||||
break;
|
||||
case 'phids':
|
||||
$query
|
||||
->withPHIDs($guids);
|
||||
|
|
Loading…
Reference in a new issue