mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
closes #2757
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user