Hello
Describe the bug
In the search action, there is no verification about the value of sortDirection
To Reproduce
Go to the ?action=search for an entity, then update in the URL the value of sortDirection : SQL error
For exemple on the list action, there is a check about that :
http://127.0.0.1:8000/admin/?entity=Image&action=list&menuIndex=3&submenuIndex=-1&sortField=id&sortDirection=ZOBBY

But on the search action :
http://127.0.0.1:8000/admin/?action=search&entity=Image&sortField=id&sortDirection=ZOBBY&menuIndex=3&submenuIndex=-1&query=logo

Fixed by #2343.
@Benjamin-Porquet I love the argument that you used "ZOBBY" 馃樅
Most helpful comment
@Benjamin-Porquet I love the argument that you used "ZOBBY" 馃樅