Skip to content

Comments

[BUGFIX] Respect plugin TS in RelevanceComponent#4532

Open
helhum wants to merge 1 commit intoTYPO3-Solr:mainfrom
helhum:fix-query-builder-in-relevance-component
Open

[BUGFIX] Respect plugin TS in RelevanceComponent#4532
helhum wants to merge 1 commit intoTYPO3-Solr:mainfrom
helhum:fix-query-builder-in-relevance-component

Conversation

@helhum
Copy link
Contributor

@helhum helhum commented Feb 12, 2026

The RelevanceComponent gets a QueryBuilder injected via DI,
which in turn only receives global TypoScriptConfiguration, as the plugin
context is lost during DI.

Allow setting TypoScriptConfiguration in QueryBuilder to be
able to set the The TypoScriptConfiguration from the event,
similar to the startFrom() method to set the query.

The RelevanceComponent gets a QueryBuilder injected via DI,
which in turn only receives global TypoScriptConfiguration, as the plugin
context is lost during DI.

Allow setting TypoScriptConfiguration in QueryBuilder to be
able to set the The TypoScriptConfiguration from the event,
similar to the startFrom() method to set the query.
@dkd-kaehm dkd-kaehm force-pushed the fix-query-builder-in-relevance-component branch from 4734546 to 07cb12a Compare February 19, 2026 13:53
dkd-kaehm pushed a commit to dkd-kaehm/ext-solr that referenced this pull request Feb 19, 2026
The RelevanceComponent gets a QueryBuilder injected via DI,
which in turn only receives global TypoScriptConfiguration, as the plugin
context is lost during DI.

Allow setting TypoScriptConfiguration in QueryBuilder to be
able to set the The TypoScriptConfiguration from the event,
similar to the startFrom() method to set the query.

Ports: TYPO3-Solr#4532
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant