diff options
author | Yuri Gorshenin <y@maps.me> | 2016-10-13 13:21:25 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-10-13 13:25:59 +0300 |
commit | a59b30b3da5c46c352922328b28fdc253dd17d01 (patch) | |
tree | 5870ad4ec5a097a2fdb1b1747c0d24f86204939a /map | |
parent | cf0df96760583eb3380e9cc7969cbc4dcd8943ab (diff) |
[search] Identity checks for hotels filter.
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index 947796101f..a39cc69d6a 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1361,6 +1361,9 @@ bool Framework::QueryMayBeSkipped(SearchIntent const & intent, search::SearchPar if (lastParams.IsValidPosition() != params.IsValidPosition()) return false; + if (!search::hotels_filter::Rule::IsIdentical(lastParams.m_hotelsFilter, params.m_hotelsFilter)) + return false; + return true; } |