Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

list users by collaboration_id DESC on page repo/settings/collaboration #8054

@d9ee

Description

@d9ee

Describe the feature

I've been using Gogs with PostgreSQL.
I found that when I add a new collaborator, they are not always at the top or bottom of the list.
Could you add an ORDER BY id DESC feature to the getCollaborations() function in internal/database/repo_collaboration.go?
Thank you!

Describe the solution you'd like

I’m not familiar with XORM so I don't know how to implement it.

Describe alternatives you've considered

empty

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎯 featureCategorizes as related to a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions