mirror of
https://github.com/flarum/core.git
synced 2025-08-10 18:35:56 +02:00
Use the current route when when applying changeSort instead of always going to index
This commit is contained in:
committed by
Franz Liedke
parent
e9b267a33a
commit
c8f47d519d
@@ -67,7 +67,7 @@ export default class GlobalSearchState extends SearchState {
|
|||||||
params.sort = sort;
|
params.sort = sort;
|
||||||
}
|
}
|
||||||
|
|
||||||
setRouteWithForcedRefresh(app.route(this.searchRoute, params));
|
setRouteWithForcedRefresh(app.route(app.current.get('routeName'), params));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user