Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count only positive supports on admin budget stats #72

Merged
merged 2 commits into from Oct 20, 2020

Conversation

decabeza
Copy link
Collaborator

@decabeza decabeza commented Oct 16, 2020

Objectives

The statistics of the budgets in the admin panel /admin/stats/budget_supporting?budget_id=N show the total supports number.

This PR adds the vote_flag: true attribute to ignore withdrawn supports and remove unused @investment_votes in the stats controller.

@decabeza decabeza merged commit 0973af4 into master Oct 20, 2020
@decabeza decabeza deleted the budget_admin_stats branch October 20, 2020 09:35
@decabeza decabeza removed the Backport label Oct 21, 2020
decabeza added a commit that referenced this pull request May 3, 2022
Remove budget content block when delete a heading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants