[BUG] The TypoScript Option tx_solr.search.query.getParameter is ignored
Describe the bug
The documentation mentions the option tx_solr.search.query.getParameter:
The GET query parameter name used in URLs. Useful for cases f.e. when a website tracking tool does not support the default array GET parameters.
The option expects a string, you can also define an array in the form of arrayName|arrayKey.
But this doesn't seem to have any effect.
We'd suggest to either adopt the code, or remove the option from the documentation.
To Reproduce Steps to reproduce the behaviour:
- Set the option to
q - Flush Cache
- Check form input field name of search term.
Expected behavior The input field name is adjusted to the configured field
Screenshots If applicable, add screenshots to help explain your problem.
Used versions (please complete the following information):
- TYPO3 Version: 12.4.25
- Browser: Firefox
- EXT:solr Version: 12.0.2
- Used Apache Solr Version: [e.g. 9.8.1]
- PHP Version: 8.2
- MySQL Version: [e.g. 8.0.0]
Additional context
It looks like the templates use {pluginNamespace} and we couldn't find any reference in the extension to the option.
Nice catch! Thanks Daniel. I would propose to remove it from the docs.
Sure, makes sense if the feature no longer exists.
Any decision made?