Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682602
D25506.1734665055.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
946 B
Referenced Files
None
Subscribers
None
D25506.1734665055.diff
View Options
diff --git a/src/applications/audit/query/PhabricatorCommitSearchEngine.php b/src/applications/audit/query/PhabricatorCommitSearchEngine.php
--- a/src/applications/audit/query/PhabricatorCommitSearchEngine.php
+++ b/src/applications/audit/query/PhabricatorCommitSearchEngine.php
@@ -70,6 +70,8 @@
}
protected function buildCustomSearchFields() {
+ $show_packages = PhabricatorApplication::isClassInstalled(
+ 'PhabricatorPackagesApplication');
return array(
id(new PhabricatorSearchDatasourceField())
->setLabel(pht('Responsible Users'))
@@ -118,6 +120,7 @@
->setConduitKey('packages')
->setAliases(array('package', 'packages', 'packagePHID'))
->setDatasource(new PhabricatorOwnersPackageDatasource())
+ ->setIsHidden(!$show_packages)
->setDescription(
pht('Find commits which affect given packages.')),
id(new PhabricatorSearchThreeStateField())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 03:24 (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016465
Default Alt Text
D25506.1734665055.diff (946 B)
Attached To
Mode
D25506: Hide "Packages" field in Diffusion Commits query form when application uninstalled
Attached
Detach File
Event Timeline
Log In to Comment