Forum

[SOLVED] Report Ver...
 
Notifications
Retirer tout

[SOLVED] Report Version detail : include elements of sub-projects

3 Posts
2 Utilisateurs
0 Reactions
1,932 Vu
Tony
 Tony
(@tony44)
Posts: 131
Active Member
Début du sujet
 
[#7253]

Hi,

The "Version detail" report (versionDetail.php) does not display the elements of the sub-projects of the project selected as a parameter (it only displays the elements directly attached to the selected project).
It would seem more logical to also display the elements of the sub-projects.

To get this result, I replaced line 173:

$crit.=" and ".$obj->getDatabaseColumnName('idProject')."=$paramProject";

By :

$crit.=" and idProject in " . getVisibleProjectsList(false,$paramProject);

I now get the desired result.
Is this change correct ?
Is it possible to include the change in the next version ?

Thanks


Tony44

 
Posté : 1 Fév AM 01:022
(@babynus)
Posts: 14952
Membre Admin
 

Almost that.
Correct fix i s

$crit.=" and ".$obj->getDatabaseColumnName('idProject')." in " . getVisibleProjectsList(false,$paramProject);

​​​​​​​Will be included in next patch


 
Posté : 1 Fév PM 13:022
Tony
 Tony
(@tony44)
Posts: 131
Active Member
Début du sujet
 

Great ! thanks


Tony44

 
Posté : 2 Fév AM 01:022
Share:
Retour en haut