Don't clear filter when search is cleared

This commit is contained in:
Toby Zerner 2015-06-26 12:08:46 +09:30
parent 54b7c4eff4
commit fa094102d6

View File

@ -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));
}
/**