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.

Notifications
Clear all

todo list

4 Posts
2 Users
0 Reactions
1,322 Views
 M
(@mkavurcic)
Posts: 43
Active Member
Topic starter
 
[#8739]

Please review the following:

  • todo list items (status - "in progress") on activity (status all but "done") display on today screen as well as on todo list screen - that's ok
  • todo list items (status - "done") on activity (status all but "done") don't display on today screen but display on todo list screen when "done" field checked - that's ok
  • todo list items (status - "in progress") on activity (status "done") display on today screen but don't display on todo list screen - that's odd
  • todo list items (status - "done") on activity (status "done") don't display on today screen - that's ok, and can't be displayed on todo list screen even when "done" field checked - this may be ok - if only todo items of not done activities were supposed to be shown, and may not be ok - if you want to review all todo list items in your project

thanks


 
Posted : 13 Feb 2023 15H40
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Todo in Today screen shows the Todo depending on Todo Status only.
Only Todo for Closed activities are hidden.
Todo "in progress" for activities "done" are displayed : it may be a delivery task, bug fixing, closure request, ...

Hiding all Todo for done activities on Todo screen is weird. 
We'll have a look and possibly fix this.
 


 
Posted : 18 Feb 2023 19H10
 M
(@mkavurcic)
Posts: 43
Active Member
Topic starter
 

in SubTask.php line 580 I adapted few lines of code and now it works (for me); please try and check if all privs. and sec.features are preserved

if (
#mk($element->idle==1) or ($element->done==1) or
($rightUpdate=='NO' and $rightRead=='NO') or (!$rightUpdate and !$rightRead))continue;

$where="refType= '".$obj['reftype']."' and refId = ".$element->id;
$crit=array();
if(!$showClosedSubTask and !$showDoneSubTask ){
$crit=array("done"=>'0',"idle"=>'0');
}else if($showDoneSubTask and !$showClosedSubTask){
$crit=array("done"=>'1',"idle"=>'0');
//mk add
}else if($showDoneSubTask and $showClosedSubTask){
$crit=array("done"=>'0',"idle"=>'1');
}

-----------------------------------

further, I suggest to supply ResponsibleTodoList parameter in Today.php, line 43
 public static $staticList=array('Projects','AssignedTasks','ResponsibleTasks', 'AccountableTasks', 'IssuerRequestorTasks','ProjectsTasks','ResponsibleTodoList','Documents');


 
Posted : 21 Feb 2023 14H41
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

Thanks for you fix.
We already fixed this issue, not the way you propose, but I think it will give same result.


 
Posted : 24 Feb 2023 13H25
Share:

Scroll to Top