Project

General

Profile

Bug #83328

Updated by Florian Rival over 6 years ago

When retrieving tree list with QueryGenerator->getTreeList(), the result is often wrong. 

 Example with following tree : 

 A  
 !-> B -> D 
 ! 
 !-> C -> E 


 |--B |--D 
   | 
   |--C |--E 

 $queryGenerator->getTreeList(#pid-A, 3, 0); 

 Result : A, B, C, D, E (OK) 

 $queryGenerator->getTreeList(#pid-A, 3, 1); 

 Result : B, E instead of B, C, D, E 

 $queryGenerator->getTreeList(#pid-A, 3, 2); 

 Empty result instead of D, E 

 The problem is because when concatenated pid, a comma is missing. 

Back