mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #623] Sort groups list on user view #231
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#231
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mechanarchy on GitHub (Jul 22, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/623
On the user view, the list of groups that the user is in has no defined sort, nor is the ordering stable. The group list changes order with each refresh. Please can this list be alphabetically sorted so that it is stable between refreshes and matches the ordering of groups on the group view page.
I'm not familiar with Rust enough to implement this myself but I believe the code that needs to be changed is here:
github.com/lldap/lldap@7d1f5abc13/app/src/components/user_details.rs (L149)Or it may need to be implemented upstream in the GraphQL API.
@nitnelave commented on GitHub (Jul 29, 2023):
Sorted the groups upstream so that graphql always returns a sorted list.