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.

Screenshots

Array of sorted group IDs that came from server compared with the groups on the client.

Screen_Shot_2017-06-16_at_2.41.38_AM

^ 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