Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power up for magic filter __pageSections #3937

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

kitzberger
Copy link
Contributor

What this pr does

Before this it's required to define a hardcoded comma separated list of page uids. Now it's possible to use the power of TypoScript to fill it with all sorts of things.

How to test

plugin.tx_solr.search.query.filter {
    __pageSections = TEXT
    __pageSections.data = leveluid:0
}

Fixes: #3936

Before this it's required to define a hardcoded comma separated
list of page uids. Now it's possible to use the power of TypoScript
to fill it with all sorts of things.

This can e.g. look like:

plugin.tx_solr.search.query.filter {
  __pageSections = TEXT
  __pageSections.data = leveluid:0
}

Resolves: TYPO3-Solr#3936
dkd-friedrich pushed a commit to dkd-friedrich/ext-solr that referenced this pull request Feb 23, 2024
Before this it's required to define a hardcoded comma separated
list of page uids. Now it's possible to use the power of TypoScript
to fill it with all sorts of things.

This can e.g. look like:

plugin.tx_solr.search.query.filter {
  __pageSections = TEXT
  __pageSections.data = leveluid:0
}

Ports: TYPO3-Solr#3937
Resolves: TYPO3-Solr#3936
@dkd-friedrich
Copy link
Member

Thanks for providing this feature

I've prepared a backport and added a unit test. Feature will be available in upcoming versions 11.5.6 and 12.0.2

@dkd-friedrich dkd-friedrich merged commit d81ecd8 into TYPO3-Solr:main Feb 23, 2024
8 checks passed
dkd-friedrich pushed a commit that referenced this pull request Feb 23, 2024
Before this it's required to define a hardcoded comma separated
list of page uids. Now it's possible to use the power of TypoScript
to fill it with all sorts of things.

This can e.g. look like:

plugin.tx_solr.search.query.filter {
  __pageSections = TEXT
  __pageSections.data = leveluid:0
}

Ports: #3937
Resolves: #3936
@kitzberger
Copy link
Contributor Author

Thanks a lot ;-)

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.

[FEATURE] Add stdWrap to filter.__pageSection
2 participants