Solved User sorting is random
A rather low priority thing, but I though I'd leave it here to keep in mind: When I open up the users view and refresh the page, the sorting is always different, not alphabetical or sorted by date, it's just random (or so it seems). Could be an issue if you have a many users and look for a specific one but don't know the exact name
jdaviescoates last edited by
I don't have many users yet so this isn't yet an issue for me, but yeah, I see what you mean! Strange.
I thought we fixed this in the last release but looks like we only fixed this for groups - https://git.cloudron.io/cloudron/box/-/blob/master/CHANGES#L2062
This is fixed in the next release.
If you are curious, we had an async loop to fetch user objects. The responses were simply appended to an array. The sorting was thus messed us because the network response arrive out of order.