You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Space member lists change their order on every load #3922
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
The server returns space members in a different order on every request, and the member lists only sort by role, so members change places on every load and move between pages:
Spaces overview ("Show members"), space sidebar and the space members section of the file share panel: sortSpaceMembers in web-pkg/src/composables/piniaStores/spaces.ts:23-25 sorts by permissions.length only.
Admin settings > Spaces > Members: sortedPermissions in web-app-admin-settings/src/components/Spaces/SideBar/MembersPanel.vue groups by role only.
Fix: add a secondary sort by display name in both places.
Reproduction Steps
Add several members with the same role to a project space.
Open the members panel in the Spaces overview, close it and open it again (or reload).
Do the same in Admin settings > Spaces.
Expected Outcome
A stable order within each role, e.g. alphabetical.
Actual Outcome
The order changes on every load; with more than one page, members jump between pages.
Activity