Node.js based forum software built for the modern web
closes #2757
barisusaklie528f52cfbc3
diff --git a/src/controllers/search.js b/src/controllers/search.jsindex 775d430783..7c1d20262b 100644--- a/src/controllers/search.js+++ b/src/controllers/search.js@@ -56,7 +56,7 @@ searchController.search = function(req, res, next) {results.showAsTopics = req.query.showAs === 'topics';results.breadcrumbs = breadcrumbs;results.categories = categories;- results.expandSearch = false;+ results.expandSearch = !req.params.term;plugins.fireHook('filter:search.build', {data: data, results: results}, function(err, data) {if (err) {