Skip to content

Wrong user count when using teams as team owners #2126

@dgsiegel

Description

@dgsiegel

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create two teams "foo" and "bar"
  2. Add team "foo" to "bar" and set "foo" as sole owner of that team
  3. The sidebar will now show a user count of 2 instead of 1.
  4. When visiting the team, the user count reduces to the correct number of 1

Expected behaviour

Always show the same user count. If you count the team and the single member of "foo" as 2, that would be fine as well.

Server configuration

Database: PostgreSQL

PHP version: 8.3

Nextcloud version: 31.0.8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🏗️ At engineering

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions