Resolve "Can't sort Groups"
What does this MR do?
Fixes incorrect presentation of groups list on the Groups dashboard page. To be able to keep the correct order of groups without losing the ability to use an Object {}
I've prepended IDs with id
so the browser will not try to order by key/ID the object.
Are there points in the code the reviewer needs to double check?
Check if the specs are set correctly.
Why was this MR needed?
The groups were being displayed ordered by ID without respecting the correct order the server was sending.
Screenshots
Array of sorted group IDs that came from server compared with the groups on the client.
^ Groups 1316, 1315, 1314
are children of 1313
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #33675 (closed)
Edited by Alfredo Sumaran