Indexing: Indexes with linked documents in the root node and child nodes don't show document counts for the root node
This is easier to explain through screenshots. Below is an indexing config to generate indexes by sending company.
I have at the root node grouped documents so all documents can be indexed by company. I have 2 child nodes so you can further filter by cabinet or by document type before displaying the company list.
The indexes work okay, however when browsing the root node there are no document counts for any of the root index results for either levels or the document count themselves:
Documents grouped into a child node do have those counts.
If I click "aviva" in the root node, Mayan descends down into one of the other child nodes (by cabinet) but it looks like it concatenates all cabinets together as the name at the top of the screen doesn't exist as a cabinet:
Mayan is however showing all documents with the company name aviva and the document counts on the left are what I would expect to see on the root node. So Mayan is finding everything it should, it's just not displaying document counts on the root node when child nodes exist and displays the end result oddly also.
Browsing through the child nodes works flawlessly.
I figured I could work around this by creating a child node for "all documents by company" so the global index would have it's own child node and the root node just 3 links to the further down sections:
But when rebuilding the index no documents appear for that child node:
This may all be expected behaviour and document count's shouldn't show at the root label in which case just close the issue :)