Yes i fixed it by tweaking the code - you can also sneak in a sort order clause in the code too.
In the ForActivities.php file the due date column is calling an invalid column name - it’s supposed to be date_due not date_end - which is what’s in the default files from the repo.
You can get the due date to show in the activities by doing the following
go to public/legacy/modules folder.
Find all the ForActivities.php files.
There’s one in Tasks, one in Calls and one in Meetings
Copy these files to the respective /custom/modules folder in the legacy folder.
so there should be
/public/legacy/custom/modules/Calls/metadata/subpanels/ForActivities.php
/public/legacy/custom/modules/Meetings/metadata/subpanels/ForActivities.php
/public/legacy/custom/modules/Tasks/metadata/subpanels/ForActivities.php
Edit the ForActivities.php files in the custom directories and change the following
'date_end' => [
'vname' => 'LBL_LIST_DUE_DATE',
'width' => '10%',
'alias' => 'date_end',
'sort_by' => 'date_end',
],
to
'date_end' => [
'vname' => 'LBL_LIST_DUE_DATE',
'width' => '10%',
'alias' => 'date_due',
'sort_by' => 'date_due',
],
This will then present the due date as normal for the subpanels.
The same principle applies to ForHistory.php - as that won’t show you the due date either 