Skip to content

Commit

Permalink
fixed: element details view acl was incorrectly stopping the element …
Browse files Browse the repository at this point in the history
…from showin its filter - should take list acl setting not form/details acl setting
  • Loading branch information
pollen8 committed Jan 3, 2014
1 parent dcd1b6c commit 0117a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_fabrik/models/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -6056,7 +6056,7 @@ protected function &makeFilters($container = 'listform_1', $type = 'list', $id =
*/
if (isset($element->filter_type) && $element->filter_type <> '' && $element->filter_type != 'null')
{
if ($elementModel->canView() && $elementModel->canUseFilter())
if ($elementModel->canView('list') && $elementModel->canUseFilter())
{
/* $$$ rob in faceted browsing somehow (not sure how!) some elements from the faceted table get inserted into elementModels
* with their form id set - so test if its been set and if its not the same as the current form id
Expand Down

0 comments on commit 0117a73

Please sign in to comment.