#107780indexed_search descendingSortOrderFlag not working
Description
The descendingSortOrderFlag is not working in the advanced search.
The sort order won’t change when i switch from “highest first” to “lowest first”.
I think the problem is in the descendingSortOrderFlag in Classes/Domain/Repository/IndexSearchRepository.php.
In line 177 the array key is wrong I think. When i change the code from the original
$this->descendingSortOrderFlag = (bool)($searchData['desc'] ?? false);
to
$this->descendingSortOrderFlag = (bool)($searchData['sortDesc'] ?? false);
then the order changes. Maybe you can check that? Thanks :)