Skip to content

The group list is always sorted aphabetically but the user list is not. #36

Description

@jkeltz

Issue Description

Since the group list is sorted automatically, I assume that the user list in each group should be sorted automatically as well. As it stands right now, add users: a,c,b and it will remain like that. In VirtualGroups.php saveConfig function after the $lines=[...] line add:

uksort($config, function($a, $b) {
    return strcmp($a, $b);
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions