logic: fixes for search

* set max best scored length for file paths
* fixed best score caching
* fixed namespace/package and node name split for search results
This commit is contained in:
Eberhard Graether
2017-09-07 16:43:20 +02:00
parent d62fdc2e11
commit 5f9a6d7046
3 changed files with 47 additions and 49 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ size_t HierarchyCache::getIndexOfLastVisibleParentNode(Id nodeId) const
node = parent;
parent = node->getParent();
if (node->isVisible())
if (node->isVisible() && !idx)
{
visible = true;
}