Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14042653
D10032.id24129.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
880 B
Referenced Files
None
Subscribers
None
D10032.id24129.diff
View Options
diff --git a/src/applications/project/conduit/ConduitAPI_project_query_Method.php b/src/applications/project/conduit/ConduitAPI_project_query_Method.php
--- a/src/applications/project/conduit/ConduitAPI_project_query_Method.php
+++ b/src/applications/project/conduit/ConduitAPI_project_query_Method.php
@@ -20,6 +20,7 @@
return array(
'ids' => 'optional list<int>',
+ 'names' => 'optional list<string>',
'phids' => 'optional list<phid>',
'slugs' => 'optional list<string>',
'status' => 'optional '.$status_const,
@@ -50,6 +51,11 @@
$query->withIDs($ids);
}
+ $names = $request->getValue('names');
+ if ($names) {
+ $query->withNames($names);
+ }
+
$status = $request->getValue('status');
if ($status) {
$query->withStatus($status);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 13, 5:11 AM (1 d, 50 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718448
Default Alt Text
D10032.id24129.diff (880 B)
Attached To
Mode
D10032: Conduit project.query allow query by names
Attached
Detach File
Event Timeline
Log In to Comment