Skip to content

Resolve "Can't sort Groups"

Alfredo Sumaran requested to merge 33675-keep-groups-sorted-as-expected into master

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.


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?

What are the relevant issue numbers?

Closes #33675 (closed)

Edited by Alfredo Sumaran

Merge request reports