Skip to content

Commit

Permalink
Make sure during dissolution if new MP present, returned over old one.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jul 5, 2024
1 parent 28589d8 commit 4da5e30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/includes/easyparliament/member.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ public function constituency_to_person_id($constituency, $house=null) {
$query .= ' AND house = :house';
$params[':house'] = $house;
}
$query .= ' ORDER BY left_house DESC';

$q = $this->db->query($query, $params)->first();

Expand Down

0 comments on commit 4da5e30

Please sign in to comment.