In Hybris Backoffice, when any of the type nodes is selected (e.g. products, customers, etc.) by default the simple search is visible. The user then needs to click on the icon to open the advanced search. There are plenty of examples of how to disable simple search and only show the advanced search widget. However what I need is to just swap the visible state of simple and advanced search, that is:
- both simple and advanced search enabled
- by default advanced search is visible
- on button click, advanced search collapses and simple search is visible
Any pointers are appreciated.