Rank 5: Hypervisor
the orgnizations list says "2 members" tho i seams like it's counting the number of projects.
It's a bit confusing with the organization members, and since i'm alone, i was thinking there was a bug with counting members.
Votes
0
Replies
16
Participants
2
Messages
17
Rank 5: Hypervisor
the orgnizations list says "2 members" tho i seams like it's counting the number of projects.
It's a bit confusing with the organization members, and since i'm alone, i was thinking there was a bug with counting members.
Hmm I cannot spot the bug 🤔 Can you try to add more projects to see if the count changes?
Even if not, and your members count is not 2, still worth investigating further. Any chance you have pending invitation, or you recently removed member?
Rank 5: Hypervisor
saldy i'm at the limit for both, tho iirc i have a test project in the student, will remove it to test
Rank 5: Hypervisor
ok so ye, still showing 2 members, so your right it's not tracking projects like i thought.
tho i still don't understand why it shows 2 members, i only have one for more than a year now.
Can you share your organization ID with me? or project ID, Ill manually check the DB to see what might be going on
(You can find both IDs in URL)
Rank 5: Hypervisor
don't think there is a leftover invitation, at least i don't see any
i also went back to the old console to check, and it is also showing 2 members
org: 673d00bedf18d6352470 | the only project in the org: 68aee423000dddc5a369
also other thing to check with that org, i don't have GH student since april, but still have the appwrite org for it
Rank 5: Hypervisor
looking at the API responses :
/v1/organizations retuers the orgs, and there is a property total that is at 2 which is the only place i could find that/v1/teams/673d00bedf18d6352470/memberships retuens only one member (me)Ah, found the bug. There was double-counting involved
Rank 5: Hypervisor
nice, and since it's really projects, i think it would be better to rename it "projects" instead of "members" to avoid confusion
PR ready https://github.com/appwrite/appwrite/pull/13464
Fixing existing data will require some sort of migration 🤔
Do you think it still might be projects count? I think its member count, just with a bug
Rank 5: Hypervisor
i'm not exacly sure, since in the UI only, it's a bit hard to understand what going on under the hood.
Tho if the "total: 2" are members, and is what is showing, then it might really be members.
it's possible i'm wrong due to the low number of projects/members i have in the orgs.
Rank 5: Hypervisor
i would say, we can keep like that, and apply the fix you did, then see if it really fix the members counts.
(you can test on my org as i don't really use it anymore as i shouldn't have it)
I am preparing script to fix current totals anyway, so I can ping you after I run it, and you can see if count is accurate afterwards
Rank 5: Hypervisor
sounds good (an no problem you can ping)