Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.77k stars 365 forks source link

fix: incorrect statistics in organisation admin list #4546

Closed matthewelwell closed 1 month ago

matthewelwell commented 1 month ago

Changes

Fixes incorrect statistics in organisation admin list view.

How did you test this code?

Manually:

  1. Run the API locally
  2. Create a project in a given organisation
  3. Confirm that the number of projects in the django admin list is correct
  4. Delete the project
  5. Confirm that the number of projects in the django admin list is correct
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **docs** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/docs/DWxHSVoUf8p7RQMFpLyePfApFWDv)) | [Visit Preview](https://docs-git-fix-organisation-admin-statistics-flagsmith.vercel.app) | | Aug 28, 2024 10:16am | | **flagsmith-frontend-preview** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/flagsmith-frontend-preview/BeUSoHHvTMFn71GbanQy7KSL2zqt)) | [Visit Preview](https://flagsmith-frontend-preview-git-fix-organisatio-4d379f-flagsmith.vercel.app) | | Aug 28, 2024 10:16am | | **flagsmith-frontend-staging** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/flagsmith-frontend-staging/EsE9F2XkmFn6NQm9aKDm2ucKWZAa)) | [Visit Preview](https://flagsmith-frontend-staging-git-fix-organisatio-9840f5-flagsmith.vercel.app) | | Aug 28, 2024 10:16am |
github-actions[bot] commented 1 month ago

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-4546 Finished :white_check_mark: Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-4546 Finished :white_check_mark: Skipped
ghcr.io/flagsmith/flagsmith-api:pr-4546 Finished :white_check_mark: Results :white_check_mark:
ghcr.io/flagsmith/flagsmith-frontend:pr-4546 Finished :white_check_mark: Results :white_check_mark:
ghcr.io/flagsmith/flagsmith:pr-4546 Finished :white_check_mark: Results :white_check_mark:
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4546 Finished :white_check_mark: Results :white_check_mark:
github-actions[bot] commented 1 month ago

Uffizzi Preview deployment-55640 was deleted.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.01%. Comparing base (aa234e4) to head (3c1406c). Report is 8 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4546 +/- ## ======================================= Coverage 97.01% 97.01% ======================================= Files 1152 1152 Lines 39680 39678 -2 ======================================= - Hits 38495 38494 -1 + Misses 1185 1184 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.