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,