[Quick Lookup] Added ITU zone

This commit is contained in:
Andreas Kristiansen
2024-10-25 12:17:58 +02:00
parent 1a66b6c231
commit 9dfae5ab2d
5 changed files with 37 additions and 27 deletions

View File

@@ -45,7 +45,11 @@ class Lookup extends CI_Controller {
} else {
$this->load->model('bands');
$data['bands'] = $this->bands->get_worked_bands(xss_clean($this->input->post('type')));
if ($this->input->post('type') == 'itu') {
$data['bands'] = $this->bands->get_worked_bands();
} else {
$data['bands'] = $this->bands->get_worked_bands(xss_clean($this->input->post('type')));
}
$data['dxcc'] = xss_clean($this->input->post('dxcc'));
@@ -55,6 +59,7 @@ class Lookup extends CI_Controller {
$data['iota'] = xss_clean($this->input->post('iota'));
$data['cqz'] = xss_clean($this->input->post('cqz'));
$data['wwff'] = xss_clean($this->input->post('wwff'));
$data['ituz'] = xss_clean($this->input->post('ituz'));
$data['location_list'] = $location_list;
$data['result'] = $this->lookup_model->getSearchResult($data);