diff --git a/src/applications/project/conduit/ConduitAPI_project_query_Method.php b/src/applications/project/conduit/ConduitAPI_project_query_Method.php index f7a451ec1e..aa05326e10 100644 --- a/src/applications/project/conduit/ConduitAPI_project_query_Method.php +++ b/src/applications/project/conduit/ConduitAPI_project_query_Method.php @@ -20,6 +20,7 @@ final class ConduitAPI_project_query_Method extends ConduitAPI_project_Method { return array( 'ids' => 'optional list', + 'names' => 'optional list', 'phids' => 'optional list', 'slugs' => 'optional list', 'status' => 'optional '.$status_const, @@ -50,6 +51,11 @@ final class ConduitAPI_project_query_Method extends ConduitAPI_project_Method { $query->withIDs($ids); } + $names = $request->getValue('names'); + if ($names) { + $query->withNames($names); + } + $status = $request->getValue('status'); if ($status) { $query->withStatus($status);