Closed
Description
Expected behavior
If no search is provided initially and the table is sorted, all assets should be displayed in correct order.
Actual behavior
If no search is provided initially and the table is sorted, an exception is thrown.
Exception:
Pimcore\Bundle\AdminBundle\Controller\Searchadmin\SearchController::filterQueryParam(): Argument #1 ($query) must be of type string, null given, called in /var/www/html/vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Searchadmin/SearchController.php on line 74
Server threw exception - could not perform action. Please reload the admin interface and try again.
Steps to reproduce
- Head over to https://demo.pimcore.fun/admin/?perspective=CMS
- Create a blank page
- Add an image element
- Right click the element > Search
- Click directly on a table header, e.g. "Path", to sort the content. Do not type anything in the search field beforehand.