Fixed post list presenter not updating queries
This commit is contained in:
parent
a1b71ed9e1
commit
f93fd2c31c
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ App.Presenters.PostListPresenter = function(
|
||||||
jQuery(window).on('resize', windowResized);
|
jQuery(window).on('resize', windowResized);
|
||||||
}
|
}
|
||||||
|
|
||||||
function reinit(params, loaded) {
|
function reinit(_params, loaded) {
|
||||||
|
params = _params;
|
||||||
|
params.query = params.query || {};
|
||||||
pagerPresenter.reinit({query: params.query});
|
pagerPresenter.reinit({query: params.query});
|
||||||
loaded();
|
loaded();
|
||||||
softRender();
|
softRender();
|
||||||
|
|
Loading…
Reference in a new issue