diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php index d3223e64fd..b4c0352d53 100644 --- a/src/applications/diffusion/controller/DiffusionBrowseController.php +++ b/src/applications/diffusion/controller/DiffusionBrowseController.php @@ -1557,7 +1557,8 @@ final class DiffusionBrowseController extends DiffusionController { $commit_tag = $this->renderCommitHashTag($drequest); - $path = nonempty(basename($drequest->getPath()), '/'); + $path = nonempty($drequest->getPath(), '/'); + $search = $this->renderSearchForm($path); $header = id(new PHUIHeaderView())