plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
426 stars 574 forks source link

(Fix): Sorting Order and Sorting On are not working in Search Block edit mode (#5262) #5875

Closed ichim-david closed 1 month ago

dobri1408 commented 1 month ago

@ichim-david I have fixed the tests!

dobri1408 commented 1 month ago

The tests didn't pass because I mistakenly duplicated two lines which triggered the search button. This setup functioned in Volto 17 due to its compatibility with those lines, but with minor UI differences in Volto 16, it failed. I've entirely eliminated those two lines since the search button was already tested in a previous test.