I'm working with a typo3 installation. The Version 9.5.8. I have a search field on every page. When a value is entered into the field and the search button is clicked, I end up on the main search page (ID 255 in my case). On that page, the value that I searched for is displayed in the search field of the main search, but the search is not executed and no results are being displayed. The user has to click the search button again on that page in order to see any results. Why is the search not being executed?
My search field on every page consists of the following html code:
<form action="###URL###" id="tx_indexedsearch" method="post">
<fieldset>
<input type="hidden" name="tx_indexedsearch_pi2[__referrer][@controller]" value="Search">
<input type="hidden" name="tx_indexedsearch_pi2[__referrer][@action]" value="search">
<input class="tx-indexedsearch-searchbox-sword" id="tx-indexedsearch-searchbox-sword" type="text" name="tx_indexedsearch_pi2[search][sword]" value="###VALUE###" />
<input class="tx-indexedsearch-searchbox-button" id="tx-indexedsearch-searchbox-button-submit" type="submit" value="Search" name="tx_indexedsearch_pi2[search][submitButton]">
</fieldset>
What value do I need to send for the search to be executed?