Skip to content

Node.js based forum software built for the modern web

added search title

barisusakliff7b6e4e91f8
diff --git a/src/controllers/search.js b/src/controllers/search.js
index 329f599783..82257f1a64 100644
--- a/src/controllers/search.js
+++ b/src/controllers/search.js
@@ -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;