added search title

v1.18.x
barisusakli 9 years ago
parent 2d96cdba1c
commit ff7b6e4e91

@ -51,6 +51,7 @@ searchController.search = function(req, res, next) {
searchData.pagination = pagination.create(page, searchData.pageCount, req.query);
searchData.showAsPosts = !req.query.showAs || req.query.showAs === 'posts';
searchData.showAsTopics = req.query.showAs === 'topics';
searchData.title = '[[global:header.search]]';
searchData.breadcrumbs = helpers.buildBreadcrumbs([{text: '[[global:search]]'}]);
searchData.expandSearch = !req.params.term;

Loading…
Cancel
Save