Skip to content

Sohail: Total Org Summary - Dashboard: HGN Totals Mismatch with Active Volunteers Count#2035

Merged
one-community merged 1 commit intodevelopmentfrom
Sohail-Active-Volunteer-Count-Mismatch-Fix
Mar 23, 2026
Merged

Sohail: Total Org Summary - Dashboard: HGN Totals Mismatch with Active Volunteers Count#2035
one-community merged 1 commit intodevelopmentfrom
Sohail-Active-Volunteer-Count-Mismatch-Fix

Conversation

@sohailuddinsyed
Copy link
Copy Markdown
Contributor

@sohailuddinsyed sohailuddinsyed commented Feb 8, 2026

Description:

image

[PRIORITY HIGH] Total Org Summary - Dashboard: HGN Totals Mismatch with Active Volunteers Count

a. Owner Login → Reports → Total Org Summary → Volunteer Status / Leaderboard

b. The HGN Totals value on the dashboard does not match the Active Volunteers count shown in the Volunteer Status section.

c. The Leaderboard count is the correct and expected value, while the Active Volunteers metric appears to be inaccurate.

d. This mismatch impacts the reliability of volunteer statistics and creates confusion during organization-wide validation.

e. The Active Volunteers calculation should be updated to align with the Leaderboard logic and data source so both reflect the same correct total.

Related PRS (if any):

No front end PR needed.

Main changes explained:

The Active Volunteers count in Reports → Total Org Summary → Volunteer Status did not match the HGN Totals value shown on the Dashboard/Leaderboard, causing confusion during organization-wide validation.

Root Cause: The two queries used different filtering criteria:

  • Dashboard (HGN Totals) excluded volunteers with weeklycommittedHours < 1
  • Reports (Active Volunteers) included ALL active non-mentor users regardless of committed hours
  • Reports also filtered by createdDate, which the dashboard did not use.

How to test:

  1. check into current branch
  2. do npm install and npm run dev to run this PR locally
  3. Clear site data/cache
  4. log as owner user
  5. go to Reports → Total Org Summary → Volunteer Status / Leaderboard
  6. Verify that the Active Volunteers count shown in the Volunteer Status section matches with HGN Totals on the dashboard.

Screenshots or videos of changes:

Screenshot 2026-02-07 220811 Screenshot 2026-02-07 220744

@sohailuddinsyed sohailuddinsyed changed the title Total Org Summary - Dashboard: HGN Totals Mismatch with Active Volunteers Count Sohail: Total Org Summary - Dashboard: HGN Totals Mismatch with Active Volunteers Count Feb 15, 2026
Copy link
Copy Markdown

@HemanthNidamanuru HemanthNidamanuru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Sohail,

I tested this PR locally, and everything is working correctly with the values matching as expected.

Image Image

Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Sohail,

I have reviewed your PR locally and it works as per requirement.

Image Image

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 1019b2a into development Mar 23, 2026
2 checks passed
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.

4 participants