Uploads paging is working well, with a caveat: The parent-child relationship is tricky, "orphaned" child uploads can appear by themselves on the second page, without their parent.
Solutions:
1) Before sending the page to the frontend, it could be iterated over all parents to make sure all children are in there.
(Drawback: A child would then appear Twice, on two pages)
2) Completely Exclude children from paging. Then, iterate over the parents to add their children.
(Drawback: Highly inconsistent upload #s per page)
Probably Solution 2 is better, not sure how to implement this in the current paging solution.
Uploads paging is working well, with a caveat: The parent-child relationship is tricky, "orphaned" child uploads can appear by themselves on the second page, without their parent.
Solutions: 1) Before sending the page to the frontend, it could be iterated over all parents to make sure all children are in there. (Drawback: A child would then appear Twice, on two pages)
2) Completely Exclude children from paging. Then, iterate over the parents to add their children. (Drawback: Highly inconsistent upload #s per page)
Probably Solution 2 is better, not sure how to implement this in the current paging solution.