Hi folks,
since views had a recent update, and closed a bug, a bug of activity showed up.
the join definition has a
$data['activity_personal_targets']['table'] = array(
'group' => t('Activity'),
'join' => array(
'activity' => array(
'type' => 'LEFT',
'left_field' => 'aid',
'field' => 'aid',
'extra' => array(
array(
'value' => '***CURRENT_USER***', // grab the personal message
'numeric' => TRUE,
'field' => 'uid',
),
array(
'value' => '***ACTIVITY_LANGUAGE***',
'field' => 'language',
),
),
'table' => 'activity_targets',
),
),
);
so the 'numeric => TRUE' forces the views module to run an intval() on the '***CURRENT_USER***' which in result is 0.
so only the global anonymous message will get shown, not the personalized.
so please remove the 'numeric' line!
Comments
Comment #1
_shyD6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!