This PR moves Filters from left sidebar to Search Tools.
Testing instructions
Before this PR
Extensions > Manage > Manage
1. Left sidebar has 4 filter options (Select: Location, Status, Type, Folder) that cannot be reset easily to original state with one button.
After this PR
Extensions > Manage > Manage
1. The Filters have been moved from sidebar to Search Tools in middle column. All filters can be reset with the "Clear" button.
Technical notes
During development I got the following SQL error:
Error - Unknown column "Array" in "order clause" SQL=SELECT ,2protected+(1-protected)*enabled as status FROM test_extensions WHERE state=0 ORDER BY Array ASC LIMIT 0, 20
I fixed it in administrator/components/com_installer/models/manage.php in the method
protected function populateState($ordering = null, $direction = null)
I added this line: $this->setState('list.ordering', 'name');
To get the correct list of installer types, I had to add JText to the helper file administrator/components/com_installer/helpers/installer.php in the method
public static function getExtensionTypes()
Please triple double check if these two changes did not break anything anywhere else
RTC based on the tests by @hitchblade & @kesh52
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7706.