From fa094102d6b176115293eaf93afe3dbe538e3e9f Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 26 Jun 2015 12:08:46 +0930 Subject: [PATCH] Don't clear filter when search is cleared --- framework/core/js/forum/src/components/index-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/components/index-page.js b/framework/core/js/forum/src/components/index-page.js index feb44b914..b5065e8a7 100644 --- a/framework/core/js/forum/src/components/index-page.js +++ b/framework/core/js/forum/src/components/index-page.js @@ -210,7 +210,7 @@ export default class IndexPage extends Component { clearSearch() { var params = this.params(); delete params.q; - m.route(app.route('index', params)); + m.route(app.route(this.props.routeName, params)); } /**