Skip to content

Commit

Permalink
fixup! Only count strong votes in division description
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Mar 15, 2024
1 parent f3f1db8 commit 4d9eb20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/docs/mp/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@

$policiesList = new MySociety\TheyWorkForYou\Policies;
$divisions = new MySociety\TheyWorkForYou\Divisions($MEMBER);
$policySummaries = $divisions->getMemberDivisionDetails($strong_only = true);
$policySummaries = $divisions->getMemberDivisionDetails(true);

$policyOptions = array( 'summaries' => $policySummaries);

Expand Down Expand Up @@ -1160,7 +1160,7 @@ function person_party_policy_diffs($MEMBER, $policiesList) {
global $data;

$divisions = new MySociety\TheyWorkForYou\Divisions($MEMBER);
$policySummaries = $divisions->getMemberDivisionDetails($strong_only = true);
$policySummaries = $divisions->getMemberDivisionDetails(true);

$party = new MySociety\TheyWorkForYou\Party($MEMBER->party());
$partyCohort = new MySociety\TheyWorkForYou\PartyCohort($MEMBER->person_id(), $MEMBER->cohortParty());
Expand Down

0 comments on commit 4d9eb20

Please sign in to comment.