Ref T10951. This diff removes uninstalled applications from the result set for DocumentType restults
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T10951: Search shows document types corresponding to disabled apps
- Commits
- rP7f7c3acfac92: Remove unused apps from the DocumentType typeahead
Uninstall an application (diviner for example), then go to the document type search menu and ensure that the uninstalled application doesn't show up.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- RemoveUnusedAppsFromSearch (branched from master)
- Lint
Lint Warnings Severity Location Code Message Warning src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php:30 TXT3 Line Too Long - Unit
Tests Passed - Build Status
Buildable 13426 Build 17247: Run Core Tests Build 17246: arc lint + arc unit
Event Timeline
src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php | ||
---|---|---|
30 | Is there a syntactically correct way to make this shorter without renaming things? |
src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php | ||
---|---|---|
30 | Haha, does this fit? $types = Blahblahblah::blahblah( $blahblahblah); |
Comment Actions
- Made a line shorter
src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php | ||
---|---|---|
31 | lol yep. just barely! |