From 7998ab542af07cc58c19aa9184156e5837cd9176 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Tue, 22 Oct 2024 11:29:12 +0100 Subject: [PATCH] fixup! very WIP new alert page --- classes/AlertView/NewAlert.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/classes/AlertView/NewAlert.php b/classes/AlertView/NewAlert.php index 6593c5e892..9ee5ad6041 100644 --- a/classes/AlertView/NewAlert.php +++ b/classes/AlertView/NewAlert.php @@ -175,26 +175,26 @@ private function getBasicData() { private function getRecentResults($text) { global $SEARCHENGINE; $se = new \SEARCHENGINE($text); - $this->data['search_result_count'] = $se->run_count(0,10); - $se->run_search(0,1, 'date'); + $this->data['search_result_count'] = $se->run_count(0, 10); + $se->run_search(0, 1, 'date'); } private function getSearchSections() { $sections = [ - "uk" => gettext('All UK'), - "debates" => gettext('House of Commons debates'), - "whall" => gettext('Westminster Hall debates'), - "lords" => gettext('House of Lords debates'), - "wrans" => gettext('Written answers'), - "wms" => gettext('Written ministerial statements'), - "standing" => gettext('Bill Committees'), - "future" => gettext('Future Business'), - "ni" => gettext('Debates'), - "scotland" => gettext('All Scotland'), - "sp" => gettext('Debates'), - "spwrans" => gettext('Written answers'), - "wales" => gettext('Debates'), - "lmqs" => gettext('Questions to the Mayor'), + "uk" => gettext('All UK'), + "debates" => gettext('House of Commons debates'), + "whall" => gettext('Westminster Hall debates'), + "lords" => gettext('House of Lords debates'), + "wrans" => gettext('Written answers'), + "wms" => gettext('Written ministerial statements'), + "standing" => gettext('Bill Committees'), + "future" => gettext('Future Business'), + "ni" => gettext('Debates'), + "scotland" => gettext('All Scotland'), + "sp" => gettext('Debates'), + "spwrans" => gettext('Written answers'), + "wales" => gettext('Debates'), + "lmqs" => gettext('Questions to the Mayor'), ]; $this->data['sections'] = [];