This PR moves Filters from left sidebar to Search Tools.
Testing instructions
Before this PR
Extensions > Manage > Update Sites
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 > Update Sites
1. The Filters have been moved from sidebar to Search Tools in middle column. All filters can be reset with the "Clear" button.
I just ran into an SQL error. I triggered the error after I implemented the Search Tools with Filters, by navigating to another page and than back to Extensions > Manage > Update Sites.
I solved it by adding
$this->setState('list.ordering', 'name');
to the protected function populateState($ordering = null, $direction = null) method of the Updatesites model.
SQL error solved
I just ran into an SQL error. I triggered the error after I implemented the Search Tools with Filters, by navigating to another page and than back to Extensions > Manage > Update Sites.
I solved it by adding
$this->setState('list.ordering', 'name');
to the protected function populateState($ordering = null, $direction = null) method of the Updatesites model.