Team alphabetical ordering not kept after renaming
Affected module UI
Describe the bug If you rename a team on the UI, the ordering of teams does not change i.e. it looks like the order is not defined by the display name (but by the original name of the group). If you change the name of a team, the team remains in the same place, so the alphabetical ordering of teams is not respected anymore.
To Reproduce
We had these teams with ConvDataPlatform originally, and then changed the name to DataPlatform. However, in the group ordering it remained in the same place rather than being moved after the letter C within the groups.
Expected behavior
We would expect DataPlatfrom to be moved after the groups starting with Conv{...}
Version:
OM version: v1.0.0, but we could reproduce it in v1.1.1 as well (Data governance --> Another Data governance)
Additional context
@mhornst we are sorting by the name of the team, it looks like you changed the display name is that correct?
@harshach that is correct, but isn't that what the sorting should be based on (since the original name is not visible)? Even when someone tries to assign an owner to an asset, the alphabetical order is wrong as the display names are shown, but the order is not based on these
Also, when tagging a team in a conversation, the original names are shown (and not the display names) which is a little confusing
Team Ordering inconsistency areas
- [x] In Owner Label component under Teams tab on all entity pages..
- [x] Mentions list
- [x] Teams page table
@Ashish8689 can you take a look here , you need to take the data from Elastic Search