Skip to content

Commit

Permalink
[UK] Lord Stunnell receiving answer after end date.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed May 13, 2024
1 parent 44a54b1 commit 5610547
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions search/index.pl
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ sub get_person {
$hdate = '20210219' if $person_id == 10599 && substr($hdate, 0, 6) eq '202102';
$hdate = '20221130' if $person_id == 11667 && substr($hdate, 0, 6) eq '202212';
$hdate = '20230727' if $person_id == 13485 && $hdate gt '20230727';
$hdate = '20240429' if $person_id == 10578 && $hdate gt '20240429';

# London questions answered after election
$hdate = '20210507' if $major == 9 && ($hdate eq '20210511' || $hdate eq '20210510');
Expand Down
2 changes: 2 additions & 0 deletions www/includes/easyparliament/hansardlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2101,6 +2101,8 @@ public function _get_speaker($person_id, $hdate, $htime, $major) {
$hdate = '2022-11-30';
} elseif ($person_id == 13485 && $hdate > '2023-07-27') {
$hdate = '2023-07-27';
} elseif ($person_id == 10578 && $hdate > '2024-04-29') {
$hdate = '2024-04-29';
}

# London questions answered after election
Expand Down

0 comments on commit 5610547

Please sign in to comment.