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 Passed - Unit
Tests Passed - Build Status
Buildable 13434 Build 17260: Run Core Tests Build 17259: arc lint + arc unit
Event Timeline
src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php | ||
---|---|---|
30–31 | Is there a syntactically correct way to make this shorter without renaming things? |
src/applications/search/typeahead/PhabricatorSearchDocumentTypeDatasource.php | ||
---|---|---|
30–31 | 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! |