mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 22:53:37 +08:00
Don't clear filter when search is cleared
This commit is contained in:
parent
54b7c4eff4
commit
fa094102d6
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user