Skip to content

Sort groups in users table #592

Description

@AntonioVentilii

Small feature request: may you please sort the groups in the users table in column User Groups, when rendering the list of groups for each user?

For example: Developer, Reviewer, Admin --> Admin, Developer, Reviewer

The snippet could something like this

<template #item.user_groups="{ item: user }">
              {{ user.groups.slice().sort((a, b) => a.name.localeCompare(b.name)).map(ug => ug.name).join(', ') }}
</template>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions