akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

show_filters="0" ignored #630

Closed go-source closed 8 years ago

go-source commented 8 years ago

Set the show_filters="0" in form.default.xml does not make any difference in FOF 3.0.12 The error is in AkeebaStrapper.php line 659 where: if (!empty($filter)) should be: if (!empty($filter) || $filter>0)

also in line 751: if (!empty($sortFields)) should be: if (!empty(sortFields) || $filter>0)

Suggestion: lines 751 to try 773 could be optional

I am sorry I cannot contribute directly to the code... learning... soon will be.

nikosdion commented 8 years ago

Thank you! The code required is a bit different as you can see :)