mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed new search kept page number
This commit is contained in:
@ -223,6 +223,7 @@ App.Presenters.PostListPresenter = function(
|
||||
function updateSearch() {
|
||||
$searchInput.blur();
|
||||
params.query.query = $searchInput.val().trim();
|
||||
params.query.page = 1;
|
||||
pagerPresenter.setQuery(params.query);
|
||||
}
|
||||
|
||||
|
@ -103,6 +103,7 @@ App.Presenters.TagListPresenter = function(
|
||||
function updateSearch() {
|
||||
$searchInput.blur();
|
||||
params.query.query = $searchInput.val().trim();
|
||||
params.query.page = 1;
|
||||
pagerPresenter.setQuery(params.query);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user