Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Today screen : Acti...
 
Notifications
Clear all

Today screen : Activity on my own project

1 Posts
1 Users
0 Reactions
4,216 Views
CRESSON
(@thierrc49)
Posts: 97
Active Member
Topic starter
 
[#371]

Hello Babynus,

I have 80 projects, a project leader is affected to several project (5 to 10). In today screen the project list, activity and follow up list only the PL's own project but the Activity on my own project shown all activity for all project.

I have seach why and modified this function in Today.php:

function showProjectTasks() {
// $where="(idProject in " . getVisibleProjectsList() .
// ") and idle=0 and done=0";

$where="(idProject in " . transformListIntoInClause($_SESSION['user']->getVisibleProjects()) .
") and idle=0 and done=0";
$whereActivity=$where;
showActivitiesList($where, $whereActivity, 'Today_ProjectTasks', 'myProjects');
}

now only activity owned by the project leader is displayed.

Could you please confirm that you whant to do at origin? and correct it for next revision 😉 (please check my work because I'm not about edge effect :()

BR
Thierry,


 
Posted : 21 Feb 2012 22H13
Share:

Scroll to Top