Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15393622
D20686.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20686.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php b/src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php
--- a/src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php
+++ b/src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php
@@ -198,6 +198,7 @@
$label = $field->getLabel();
$constants = $field->newConduitConstants();
+ $show_table = false;
$type_object = $field->getConduitParameterType();
if ($type_object) {
@@ -209,6 +210,7 @@
' ',
phutil_tag('em', array(), pht('(See table below.)')),
);
+ $show_table = true;
}
} else {
$type = null;
@@ -222,11 +224,11 @@
$description,
);
- if ($constants) {
+ if ($show_table) {
$constant_lists[] = $this->newRemarkupDocumentationView(
pht(
'Constants supported by the `%s` constraint:',
- 'statuses'));
+ $key));
$constants_rows = array();
foreach ($constants as $constant) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 10:53 PM (5 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7636515
Default Alt Text
D20686.diff (1 KB)
Attached To
Mode
D20686: Fix two minor display issues with the Conduit "*.search" API documentation
Attached
Detach File
Event Timeline
Log In to Comment