diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-07-13 17:37:45 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-07-13 17:46:54 +0300 |
commit | 22fa52dc0582d4279bdf66c32a4072627999537b (patch) | |
tree | e748fad6b4d12a486bc587f1ed4b2685b16da086 /search | |
parent | c15f9c3fa227259a0025ea54f27ced8d4c44a63e (diff) |
[search] Fix search result display for long categories.
Diffstat (limited to 'search')
-rw-r--r-- | search/intermediate_result.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/search/intermediate_result.cpp b/search/intermediate_result.cpp index 0c0d9f1326..bc4d040d6a 100644 --- a/search/intermediate_result.cpp +++ b/search/intermediate_result.cpp @@ -143,11 +143,7 @@ uint32_t RankerResult::GetBestType(set<uint32_t> const * pPrefferedTypes) const } } - // Do type truncate (2-level is enough for search results) only for - // non-preffered types (types from categories leave original). - uint32_t type = m_types.GetBestType(); - ftype::TruncValue(type, 2); - return type; + return m_types.GetBestType(); } // RankerResult::RegionInfo ------------------------------------------------------------------------ |