Added date filter to displaycontacts function

This commit is contained in:
Andreas Kristiansen
2025-11-17 13:42:52 +01:00
parent dfd65d84c2
commit 761dd244b8
3 changed files with 15 additions and 4 deletions

View File

@@ -527,7 +527,9 @@ class Awards extends CI_Controller {
$type = $this->security->xss_clean($this->input->post('Type'));
$qsl = $this->input->post('QSL') == null ? '' : $this->security->xss_clean($this->input->post('QSL'));
$searchmode = $this->input->post('searchmode') == null ? '' : $this->security->xss_clean($this->input->post('searchmode'));
$data['results'] = $this->logbook_model->qso_details($searchphrase, $band, $mode, $type, $qsl, $sat, $orbit, $searchmode, $propagation);
$dateFrom = $this->security->xss_clean($this->input->post('dateFrom'));
$dateTo = $this->security->xss_clean($this->input->post('dateTo'));
$data['results'] = $this->logbook_model->qso_details($searchphrase, $band, $mode, $type, $qsl, $sat, $orbit, $searchmode, $propagation, $dateFrom, $dateTo);
// This is done because we have two different ways to get dxcc info in Wavelog. Once is using the name (in awards), and the other one is using the ADIF DXCC.
// We replace the values to make it look a bit nicer