View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Report Version detail : include elements of sub-projects - ProjeQtOr
 

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

More
31 Jan 2021 23:46 #1 by Tony44
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

Please Log in or Create an account to join the conversation.

More
01 Feb 2021 11:40 #2 by babynus
Almost that.
Correct fix i s
$crit.=" and ".$obj->getDatabaseColumnName('idProject')." in " . getVisibleProjectsList(false,$paramProject);
​​​​​​​Will be included in next patch

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
01 Feb 2021 23:30 #3 by Tony44
Great ! thanks

Tony44

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.028 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.