[new downloader] Returning parent in Storage::GetNodeAttrs() method.

This commit is contained in:
Vladimir Byko-Ianko 2016-02-05 10:32:09 +03:00 committed by Sergey Yershov
parent 6dc2a4d607
commit e6b8ce19ab

View file

@ -1135,6 +1135,9 @@ void Storage::GetNodeAttrs(TCountryId const & countryId, NodeAttrs & nodeAttrs)
nodeAttrs.m_error = statusAndErr.error;
// @TODO(bykoianko) NodeAttrs::m_nodeLocalName should be in local language.
nodeAttrs.m_nodeLocalName = countryId;
nodeAttrs.m_parentCountryId = nodeValue.GetParent();
// @TODO(bykoianko) NodeAttrs::m_parentLocalName should be in local language.
nodeAttrs.m_parentLocalName = nodeAttrs.m_parentCountryId;
}
void Storage::DoClickOnDownloadMap(TCountryId const & countryId)