From 994a03b3e3b0d798a385676a81332602694c3776 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 13 Oct 2016 12:00:02 +0800 Subject: [PATCH] FIX: Advanced search link doesn't work with subfolder installs. --- .../javascripts/discourse/widgets/search-menu-controls.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/search-menu-controls.js.es6 b/app/assets/javascripts/discourse/widgets/search-menu-controls.js.es6 index f4ebe9bc34c..4f24080c6b8 100644 --- a/app/assets/javascripts/discourse/widgets/search-menu-controls.js.es6 +++ b/app/assets/javascripts/discourse/widgets/search-menu-controls.js.es6 @@ -44,7 +44,7 @@ createWidget('search-context', { ])); } - result.push(this.attach('link', { href: '/search?isExpanded=true', + result.push(this.attach('link', { href: Discourse.getURL('/search?isExpanded=true'), label: 'show_help', className: 'show-help' })); result.push(h('div.clearfix'));