doc/lib: Pass highlight-search parameter to the renderer

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 13:21:01 +01:00
parent 57ca11cb76
commit 4931418c03
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ class DocController extends ModuleActionController
$section = new SectionRenderer($parser->getDocTree(), SectionRenderer::decodeUrlParam($chapter));
$this->view->section = $section
->setUrl($url)
->setUrlParams($urlParams);
->setUrlParams($urlParams)
->setHighlightSearch($this->params->get('highlight-search'));
$this->view->title = $chapter;
$this->render('chapter', null, true);
}