From caaf4b8d7747b740fa46523cc224fdb654f15020 Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Mon, 4 Feb 2019 12:04:16 +0300 Subject: [PATCH] [search] Fix searchEmitResultsAndCoords: include results from lastUpdate. --- search/processor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/search/processor.cpp b/search/processor.cpp index 6a1f54c2c7..42b70b63a9 100644 --- a/search/processor.cpp +++ b/search/processor.cpp @@ -432,11 +432,11 @@ void Processor::Search(SearchParams const & params) LOG(LDEBUG, ("Search has been cancelled.")); } - if (!viewportSearch && !IsCancelled()) - SendStatistics(params, viewport, m_emitter.GetResults()); - // Emit finish marker to client. m_geocoder.Finish(IsCancelled()); + + if (!viewportSearch && !IsCancelled()) + SendStatistics(params, viewport, m_emitter.GetResults()); } void Processor::SearchCoordinates()