vt730: vtws_history doesn't supply any unlink information
When you get data for linking a record (ModTracker::$LINK), vtws_history provides the module, record and label of the linked record.
[1] => Array
(
[modifieduser] => 19x1
[id] => 13x1103
[modifiedtime] => 2020-12-07 13:58:55
[status] => 4
[statuslabel] => link
[values] => Array
(
[record] => Array
(
[id] => 1099
[module] => Documents
[label] => blah
)
)
)
When you get data for unlinking a record (ModTracker::$UNLINK) you get nothing.
[0] => Array
(
[modifieduser] => 19x1
[id] => 13x1103
[modifiedtime] => 2021-06-10 14:35:19
[status] => 5
[statuslabel] => unlink
[values] => Array
(
)
)
Yet the data is recorded in the vtiger_modtracker_relations table.
It would be very helpful to be able to determine what record was unlinked.
It would also help if the statuslabel value had translations. There are similar translations already in the Vtiger translation files but there is no relationship between, for example, the statuslabel string link
or unlink
and the values in the Vtiger.php language file such as 'LBL_LINK' or 'LBL_UNLINK'