ext-solr icon indicating copy to clipboard operation
ext-solr copied to clipboard

[BUG] The TypoScript Option tx_solr.search.query.getParameter is ignored

Open d-s-codappix opened this issue 7 months ago • 2 comments

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:

  1. Set the option to q
  2. Flush Cache
  3. 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.

d-s-codappix avatar Jun 12 '25 07:06 d-s-codappix

Nice catch! Thanks Daniel. I would propose to remove it from the docs.

dkd-kaehm avatar Jul 03 '25 13:07 dkd-kaehm

Sure, makes sense if the feature no longer exists.

d-s-codappix avatar Jul 07 '25 07:07 d-s-codappix

Any decision made?

masi avatar Dec 18 '25 09:12 masi