fix: trash page sorting and show more
Fix #4850
Summary
In this PR, I have updated the load children functionality to accept an ordering parameter, defaulting to lft. Additionally, the "show more" issue mentioned in #4851 is temporarily resolved by hiding the button if no new data is loaded after clicking it. I will investigate further and provide a comprehensive PR explaining why the network request sends data after all nodes have been loaded and resolve it in another pr seperately.
https://github.com/user-attachments/assets/88cd8fbc-eb2e-4148-a80f-0010e731fb63
…
References
…
Reviewer guidance
…
Hi @GarvitSinghal47, is this ready for re-review?
Hi @GarvitSinghal47, is this ready for re-review?
Yes just waiting for reply on this if confirmed i will remove it otherwise we can keep it as it is as well.