Flesh out Conduit types for Paste search fields

Summary: Ref T9964. This fills in types and descriptions for ApplicationSearch fields in Paste.

Test Plan:
Got this nice table now:

{F1023999}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9964

Differential Revision: https://secure.phabricator.com/D14765
This commit is contained in:
epriestley
2015-12-13 06:52:37 -08:00
parent 1b325a0a89
commit 0282ce74ab
17 changed files with 192 additions and 26 deletions

View File

@@ -30,7 +30,9 @@ final class PhabricatorSpacesSearchEngineExtension
->setKey('spacePHIDs')
->setConduitKey('spaces')
->setAliases(array('space', 'spaces'))
->setLabel(pht('Spaces'));
->setLabel(pht('Spaces'))
->setDescription(
pht('Search for objects in certain spaces.'));
}
return $fields;

View File

@@ -40,4 +40,8 @@ final class PhabricatorSpacesSearchField
return $phids;
}
protected function newConduitParameterType() {
return new ConduitPHIDListParameterType();
}
}