When someone is both a primary and regular maintainer of an organisation or a community, don't show them in the list of maintainers twice, by fixing the respective database functions
How to test:
docker compose down --volumes && docker compose build --parallel && docker compose up --scale data-generation=1
Sign in as admin
Create some maintainer invitations for an organisation, accept them on different accounts
Assign a regular maintaine rto also be a primary maintainer
The primary maintainer should not be duplicated in the maintainers list
The primary maintainer should be shown first
Do the same for communities
Closes #1230
PR Checklist:
[ ] Increase version numbers in docker-compose.yml
Don't show duplicate maintainers
Changes proposed in this pull request:
How to test:
docker compose down --volumes && docker compose build --parallel && docker compose up --scale data-generation=1
Closes #1230
PR Checklist:
docker-compose.yml