You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
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.
To Reproduce
Steps to reproduce the behavior:
Create a hierarchical filter with more than 3 levels
Select 3 level child
{childNode.hasChildNodeSelected} on top level parent of selected child will return false
Expected behavior
GetHasChildNodeSelected should return if any child node is selected
Used versions (please complete the following information):
TYPO3 Version: >= 12
The text was updated successfully, but these errors were encountered:
Describe the bug
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.
To Reproduce
Steps to reproduce the behavior:
{childNode.hasChildNodeSelected}
on top level parent of selected child will return falseExpected behavior
GetHasChildNodeSelected should return if any child node is selected
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered: