Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
authorYuri Gorshenin <y@maps.me>2016-10-13 13:21:25 +0300
committerYuri Gorshenin <y@maps.me>2016-10-13 13:25:59 +0300
commita59b30b3da5c46c352922328b28fdc253dd17d01 (patch)
tree5870ad4ec5a097a2fdb1b1747c0d24f86204939a /map
parentcf0df96760583eb3380e9cc7969cbc4dcd8943ab (diff)
[search] Identity checks for hotels filter.
Diffstat (limited to 'map')
-rw-r--r--map/framework.cpp3
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;
}