Reply to thread

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).


Back
Top Bottom