Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
The API is reporting back the individual entities, which is actually how XF stores it. A category itself doesn't have any extras.What you're referring to is something that we calculate when we have the whole node tree (or a complete sub-tree). See XF\Repository\Node::getNodeListExtras (and mergeNodeListExtras). This is dynamically based on what the user can actually view.So it's very unlikely that we'd change what the API is returning, which relates to a specific node, as it would now require the entire subtree under it. We only do calculations like this when we're specifically in a context where it's needed (forum list-like instances).
The API is reporting back the individual entities, which is actually how XF stores it. A category itself doesn't have any extras.
What you're referring to is something that we calculate when we have the whole node tree (or a complete sub-tree). See XF\Repository\Node::getNodeListExtras (and mergeNodeListExtras). This is dynamically based on what the user can actually view.
XF\Repository\Node::getNodeListExtras
mergeNodeListExtras
So it's very unlikely that we'd change what the API is returning, which relates to a specific node, as it would now require the entire subtree under it. We only do calculations like this when we're specifically in a context where it's needed (forum list-like instances).
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences