-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
[BUGFIX] Make getHasChildNodeSelected recursive #4156
Merged
dkd-kaehm
merged 1 commit into
TYPO3-Solr:release-12.0.x
from
twojtylak:fix/make-node-get-has-child-node-selected-recursive
Dec 17, 2024
Merged
[BUGFIX] Make getHasChildNodeSelected recursive #4156
dkd-kaehm
merged 1 commit into
TYPO3-Solr:release-12.0.x
from
twojtylak:fix/make-node-get-has-child-node-selected-recursive
Dec 17, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twojtylak
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
2 times, most recently
from
September 18, 2024 14:04
0cac418
to
fde89a4
Compare
dkd-kaehm
force-pushed
the
release-12.0.x
branch
from
September 18, 2024 14:13
6a73614
to
fe7c9eb
Compare
dkd-kaehm
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
from
September 19, 2024 08:07
fde89a4
to
cabde1d
Compare
@twojtylak |
twojtylak
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
from
September 19, 2024 08:09
cabde1d
to
9191a7b
Compare
The test fail because of changes in TYPO3 Fluid. |
dkd-kaehm
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
from
September 19, 2024 10:58
9191a7b
to
7195f35
Compare
dkd-kaehm
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
from
November 1, 2024 07:32
7195f35
to
3f58e21
Compare
dkd-kaehm
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
from
December 12, 2024 13:57
3f58e21
to
c05379b
Compare
Currently, the GetHasChildNodeSelected function in \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy\Node only checks whether a direct child is selected. With hierarchical filters, however, it makes sense to check whether any child is selected in this hierarchy branch. E.g. because this should be expanded in the frontend. ```html <f:if condition="{childNode.hasChildNodeSelected}"> <f:variable name="detailsState" value="open" /> </f:if> ``` The PR implements this recursive check. Fixes: TYPO3-Solr#4155
dkd-kaehm
force-pushed
the
fix/make-node-get-has-child-node-selected-recursive
branch
from
December 12, 2024 14:00
c05379b
to
bdcd030
Compare
dkd-kaehm
pushed a commit
to dkd-kaehm/ext-solr
that referenced
this pull request
Dec 12, 2024
Currently, the GetHasChildNodeSelected function in \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy\Node only checks whether a direct child is selected. With hierarchical filters, however, it makes sense to check whether any child is selected in this hierarchy branch. E.g. because this should be expanded in the frontend. ```html <f:if condition="{childNode.hasChildNodeSelected}"> <f:variable name="detailsState" value="open" /> </f:if> ``` The PR implements this recursive check. Fixes: TYPO3-Solr#4155 Ports: TYPO3-Solr#4156
dkd-kaehm
pushed a commit
to dkd-kaehm/ext-solr
that referenced
this pull request
Dec 12, 2024
Currently, the GetHasChildNodeSelected function in \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy\Node only checks whether a direct child is selected. With hierarchical filters, however, it makes sense to check whether any child is selected in this hierarchy branch. E.g. because this should be expanded in the frontend. ```html <f:if condition="{childNode.hasChildNodeSelected}"> <f:variable name="detailsState" value="open" /> </f:if> ``` The PR implements this recursive check. Fixes: TYPO3-Solr#4155 Ports: TYPO3-Solr#4156
dkd-kaehm
pushed a commit
that referenced
this pull request
Dec 17, 2024
Currently, the GetHasChildNodeSelected function in \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy\Node only checks whether a direct child is selected. With hierarchical filters, however, it makes sense to check whether any child is selected in this hierarchy branch. E.g. because this should be expanded in the frontend. ```html <f:if condition="{childNode.hasChildNodeSelected}"> <f:variable name="detailsState" value="open" /> </f:if> ``` The PR implements this recursive check. Fixes: #4155 Ports: #4156
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this pr does
Currently, the GetHasChildNodeSelected function in \ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\OptionBased\Hierarchy\Node only checks whether a direct child is selected. With hierarchical filters, however, it makes sense to check whether any child is selected in this hierarchy branch. E.g. because this should be expanded in the frontend.
The PR implements this recursive check.
Fixes: #4155