From d9ef7fe7d8575c485a5add48d2f998439619f438 Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 14 Dec 2020 09:49:49 +0100 Subject: [PATCH] [DXCC Award] Reworked summary so that it shows all the bands regardless of what is chosen in the form above. --- application/controllers/Awards.php | 2 +- application/views/awards/dxcc/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 81304fcb..0bfdceab 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -131,7 +131,7 @@ class Awards extends CI_Controller { $dxcclist = $this->dxcc->fetchdxcc($postdata); $data['dxcc_array'] = $this->dxcc->get_dxcc_array($dxcclist, $bands, $postdata); - $data['dxcc_summary'] = $this->dxcc->get_dxcc_summary($bands); + $data['dxcc_summary'] = $this->dxcc->get_dxcc_summary($data['worked_bands']); // Render Page $data['page_title'] = "Awards - DXCC"; diff --git a/application/views/awards/dxcc/index.php b/application/views/awards/dxcc/index.php index 1b56012b..d1d2d44a 100644 --- a/application/views/awards/dxcc/index.php +++ b/application/views/awards/dxcc/index.php @@ -162,7 +162,7 @@ '; - foreach($bands as $band) { + foreach($worked_bands as $band) { echo '' . $band . ''; } echo 'Total