From c78d9d62e6917d964722f6e1b2bfae7697256a10 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 3 Oct 2014 15:32:28 +0200 Subject: [PATCH] Fixed updating search to previous query --- public_html/js/Presenters/PagerPresenter.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public_html/js/Presenters/PagerPresenter.js b/public_html/js/Presenters/PagerPresenter.js index 08ca18e7..898f3a25 100644 --- a/public_html/js/Presenters/PagerPresenter.js +++ b/public_html/js/Presenters/PagerPresenter.js @@ -88,6 +88,9 @@ App.Presenters.PagerPresenter = function( } function setSearchParams(newSearchParams) { + if (_.isEqual(pager.getSearchParams(), newSearchParams)) { + return; + } clearContent(); pager.setSearchParams(newSearchParams); syncUrl();