Hi
A list pre filter I used in Fabrik v3.3.3 seems to have stopped working in The GitHub version pulled on 2015/10/27.
The list prefilter:
WHERE User id GREATER THAN OR EQUALS 0 Text Superuser
OR Sharing IN {$my->groups} Text Registered no
OR User id EQUALS {$my->id} Text Registered no
The middle line in the list pre filter, would basically select records where the field 'Sharing' (which contains group id's) is IN {$my->groups}..
see also screendump.
Testing the new Github version, the prefilter now only displays the current users records. Before it would display the users records AND records with a group id in the Shared field, matching the current users group id.
Hardcoding the group id's in the value field (like 2,10,11) works fine.
Also tried, without success :
$myUser = JFactory::getUser();
$myGroups = $myUser->getAuthorisedGroups();
return implode(",",$myGroups);
(win7, Joomla 3.4.5 and firefox 41.0.2)
Any ideas?
Regards
Mir
A list pre filter I used in Fabrik v3.3.3 seems to have stopped working in The GitHub version pulled on 2015/10/27.
The list prefilter:
WHERE User id GREATER THAN OR EQUALS 0 Text Superuser
OR Sharing IN {$my->groups} Text Registered no
OR User id EQUALS {$my->id} Text Registered no
The middle line in the list pre filter, would basically select records where the field 'Sharing' (which contains group id's) is IN {$my->groups}..
see also screendump.
Testing the new Github version, the prefilter now only displays the current users records. Before it would display the users records AND records with a group id in the Shared field, matching the current users group id.
Hardcoding the group id's in the value field (like 2,10,11) works fine.
Also tried, without success :
$myUser = JFactory::getUser();
$myGroups = $myUser->getAuthorisedGroups();
return implode(",",$myGroups);
(win7, Joomla 3.4.5 and firefox 41.0.2)
Any ideas?
Regards
Mir