Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15413324
D16569.id39881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
868 B
Referenced Files
None
Subscribers
None
D16569.id39881.diff
View Options
diff --git a/src/applications/harbormaster/storage/build/HarbormasterBuild.php b/src/applications/harbormaster/storage/build/HarbormasterBuild.php
--- a/src/applications/harbormaster/storage/build/HarbormasterBuild.php
+++ b/src/applications/harbormaster/storage/build/HarbormasterBuild.php
@@ -420,6 +420,10 @@
->setKey('initiatorPHID')
->setType('phid')
->setDescription(pht('The person (or thing) that started this build.')),
+ id(new PhabricatorConduitSearchFieldSpecification())
+ ->setKey('name')
+ ->setType('string')
+ ->setDescription(pht('The name of this build.')),
);
}
@@ -433,6 +437,7 @@
'name' => HarbormasterBuildStatus::getBuildStatusName($status),
),
'initiatorPHID' => nonempty($this->getInitiatorPHID(), null),
+ 'name' => $this->getName(),
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:04 PM (2 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7713615
Default Alt Text
D16569.id39881.diff (868 B)
Attached To
Mode
D16569: Added a 'name' field to the results for harbormaster.build.search endpoint
Attached
Detach File
Event Timeline
Log In to Comment