felixkat
Senior Member
As per title.
\administrator\components\com_fabrik\models\elements around line 113 needs to be change from
To what it was before.
Empty is ignoring the "no" state as it's a zero.
Need to make sure variable name is $showInList
\administrator\components\com_fabrik\models\elements around line 113 needs to be change from
Code:
$showInList = $this->getState('filter.showinlist');
if (!empty($showinlist) && !empty(trim($showInList)))
{
$query->where('e.show_in_list_summary = ' . (int) $showInList);
}
To what it was before.
Code:
$showInList = ($this->getState('filter.showinlist'));
if (trim($showInList) !== '')
{
$query->where('e.show_in_list_summary = ' . (int) $showInList);
}
Empty is ignoring the "no" state as it's a zero.
Need to make sure variable name is $showInList