@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Conduit project.query allow query by names

Summary:
The ability to query by name(s) already exists
but is not bound to the conduit method. This binds it.

Test Plan:
Tested locally

echo '{"names": ["myprojectbyname"]}' | arc call-conduit project.query

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin, 20after4

Differential Revision: https://secure.phabricator.com/D10032

authored by

cpettet and committed by
epriestley
bb35a67a d10e2509

+6
+6
src/applications/project/conduit/ConduitAPI_project_query_Method.php
··· 20 20 21 21 return array( 22 22 'ids' => 'optional list<int>', 23 + 'names' => 'optional list<string>', 23 24 'phids' => 'optional list<phid>', 24 25 'slugs' => 'optional list<string>', 25 26 'status' => 'optional '.$status_const, ··· 48 49 $ids = $request->getValue('ids'); 49 50 if ($ids) { 50 51 $query->withIDs($ids); 52 + } 53 + 54 + $names = $request->getValue('names'); 55 + if ($names) { 56 + $query->withNames($names); 51 57 } 52 58 53 59 $status = $request->getValue('status');