Skip to content

WV-2304: Update like and dislike counts for candidates, politicians and campaign objects so that counts are unified across ballot, candidate search and politician pages#3078

Open
Arjunsivakumar28 wants to merge 1 commit intowevote:developfrom
Arjunsivakumar28:WV-2304

Conversation

@Arjunsivakumar28
Copy link
Copy Markdown
Contributor

  • Added bulk update function refresh_candidate_supporters_count_from_politician in candidate/controllers.py to update candidate counts from politician
  • Added refresh_campaignx_supporters_count_from_politician_object in campaign/controllers.py to match campaign and politician counts
  • Did not have access to master follow_followorganization table to verify if like/dislike actions update counts correctly, so that needs to be verified

…nd campaign objects so that counts are unified across ballot, candidate search and politician pages
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.

1 participant