mirror of
https://github.com/flarum/framework.git
synced 2025-01-07 19:13: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() {
|
clearSearch() {
|
||||||
var params = this.params();
|
var params = this.params();
|
||||||
delete params.q;
|
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