Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
4.3.0
-
None
Description
We have object O1 (name: "test", with multiple locations:
N1 (main, node_id:101, path:1/2/60/101)
N2 (node_id:102, path: 1/2/62/102)
N3 (node_id:103, path: 1/2/63/103)
I`m doing the next:
$solrSearch = new eZSolr(); $searchResult = $solrSearch->search( 'test', array( 'SearchSubTreeArray' => array( 62 ), 'SpellCheck' => array( true ), 'SearchType' => array( 'fulltext' ), 'SearchLimit' => 10, 'SearchOffset' => 0 ) )
$searchResult['SearchResult'] should contain the eZFindResultNode object with node_id = 102. But it contains eZFindResultNode object with node_id = 101. Its because $searchResult['SearchResult'] allways contains just main nodes.