Skip to content

Set homepage org stat to only count active orgs#752

Merged
allella merged 2 commits into
hackgvl:developfrom
allella:bug/count-active-in-org-stat
Jul 2, 2026
Merged

Set homepage org stat to only count active orgs#752
allella merged 2 commits into
hackgvl:developfrom
allella:bug/count-active-in-org-stat

Conversation

@allella

@allella allella commented Jun 24, 2026

Copy link
Copy Markdown
Member

The live site is showing 80 active orgs, but we don't want to count 'inactive' orgs.

This is a one-liner to only count active orgs.

@oliviasculley

Copy link
Copy Markdown
Member

Seems like the tests are failing, I'd also like to see this change corresponding to a test that would fail if this were to ever stop working for some reason

@allella

allella commented Jun 24, 2026

Copy link
Copy Markdown
Member Author

Yeah, the tests failing are from Kevin's most recent tests, per #750 I assigned that one to Kevin and it's probably good that we figure out the right strategy on that issue before adding more tests that may suffer the same fate.

The issue appears to be tests that are using a factory and the seeders are adding similar, or other, test data that's breaking the expected assertion counts.

@allella
allella merged commit f038478 into hackgvl:develop Jul 2, 2026
1 check passed
@allella
allella deleted the bug/count-active-in-org-stat branch July 2, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants