Hi,

I have a very large tree (6000+ nodes). I am noticing that some of the hierarchies get lost in the display. An example is attached. If I look at the nodes in question (C213 - C22), they all have their 'parent' defined correctly.

As far as I can see, the problem is when the view includes paged output. It seems like the list gets re-created at the start of each page of output.

Is paged output not supported?

CommentFileSizeAuthor
example.jpg86.59 KBgmak

Comments

geerlingguy’s picture

Title: Hierarchy gets lost » Hierarchy gets messed up when using pager

This is a difficult thing, because of the way that the View is sorted before Views Tree renders everything; the first page of results may not include all the items in a particular hierarchy (depending on the way your view is sorted), so Views Tree can't render the entire hierarchy.

The simple solution is to just display all results on one page, and don't use a pager; otherwise, some hierarchies could be messed up. I'd like to leave this open so I (and anyone else) can think about this a little more and try to figure out a new way to make sure the pager doesn't break a Views Tree display.

Mołot’s picture

Can you simply disable pager for pages with tree view on?

Otherwise it would be neat to get pager to work only on root elements.

Anonymous’s picture

Since we have so many subgroups, displaying them all is counterproductive as it causes a VERY long delay. This fix would be greatly appreciated, as I would really like to group by the parent group.

smustgrave’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

With D7 EOL going to close out, if still an issue in D11 we can re-open