Project Tasks - move or hide when COMPLETED

Hi,
Is it possible for COMPLETED Project Tasks to be removed from the Project Tasks subpanel (or even moved to History) ?
Cheers,
Carl

Hi Carl,

Yes, but it will require a bit of custom code. You can add a “where” clause to the ProjectTask subpanels by creating a copy of

modules/ProjectTask/metadata/subpanels/default.php

in

custom/modules/ProjectTask/metadata/subpanels/default.php

. Adding something like “status = ‘Completed’”.

If you want this to only apply in the Projects module then you’ll need to create a new subpanel def and use this.

Adding completed project tasks to history is a little more involved and will involve adding a new entry to the history defs with an appropriate new function.

Thanks,
Jim

2 Likes

Thanks Jim (I think… :slight_smile: )
I guess I had better speak with my IT department. I had hoped it was a simple function that I had overlooked… :slight_smile:
Cheers,
Carl