From 16710e42c25935fd6e4d94bf3139fd91f438dc5a Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 9 Oct 2024 11:31:50 +0100 Subject: [PATCH] Include chamber in UK homepage votes. --- classes/Divisions.php | 1 + .../easyparliament/templates/html/homepage/recent-votes.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/classes/Divisions.php b/classes/Divisions.php index 586366c555..39f70ef5f9 100644 --- a/classes/Divisions.php +++ b/classes/Divisions.php @@ -171,6 +171,7 @@ public function getRecentDebatesWithDivisions($number = 20, $majors = null) { 'url' => $url->generate() . $anchor, 'title' => "$debate[section_body] : $debate[subsection_body]", 'date' => $debate['hdate'], + 'major' => $debate['major'], ]; } diff --git a/www/includes/easyparliament/templates/html/homepage/recent-votes.php b/www/includes/easyparliament/templates/html/homepage/recent-votes.php index 0d53fa38fb..42738d631b 100644 --- a/www/includes/easyparliament/templates/html/homepage/recent-votes.php +++ b/www/includes/easyparliament/templates/html/homepage/recent-votes.php @@ -12,6 +12,8 @@

+ Commons, + Lords,