diff --git a/public_html/js/Presenters/PostListPresenter.js b/public_html/js/Presenters/PostListPresenter.js index f6a55929..8917197c 100644 --- a/public_html/js/Presenters/PostListPresenter.js +++ b/public_html/js/Presenters/PostListPresenter.js @@ -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); } diff --git a/public_html/js/Presenters/TagListPresenter.js b/public_html/js/Presenters/TagListPresenter.js index 1f881669..a0370ecd 100644 --- a/public_html/js/Presenters/TagListPresenter.js +++ b/public_html/js/Presenters/TagListPresenter.js @@ -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); }