Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15379237
D21346.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
831 B
Referenced Files
None
Subscribers
None
D21346.id.diff
View Options
diff --git a/src/applications/harbormaster/storage/HarbormasterBuildable.php b/src/applications/harbormaster/storage/HarbormasterBuildable.php
--- a/src/applications/harbormaster/storage/HarbormasterBuildable.php
+++ b/src/applications/harbormaster/storage/HarbormasterBuildable.php
@@ -366,6 +366,10 @@
->setKey('isManual')
->setType('bool')
->setDescription(pht('True if this is a manual buildable.')),
+ id(new PhabricatorConduitSearchFieldSpecification())
+ ->setKey('uri')
+ ->setType('uri')
+ ->setDescription(pht('View URI for the buildable.')),
);
}
@@ -377,6 +381,7 @@
'value' => $this->getBuildableStatus(),
),
'isManual' => (bool)$this->getIsManualBuildable(),
+ 'uri' => PhabricatorEnv::getURI($this->getURI()),
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 7:39 PM (4 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7381815
Default Alt Text
D21346.id.diff (831 B)
Attached To
Mode
D21346: Add an explicit "uri" to the "harbormaster.buildable.search" results
Attached
Detach File
Event Timeline
Log In to Comment