mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Bandplan used from database, cluster data moved to bottom menu
This commit is contained in:
@@ -51,7 +51,12 @@ class Band extends CI_Controller {
|
||||
{
|
||||
$this->load->model('bands');
|
||||
|
||||
$data = $this->bands->get_all_bandedges_for_user();
|
||||
// Get region parameter from query string, default to 1 (IARU Region 1)
|
||||
// Note: Region selection is not yet fully implemented in the code
|
||||
$region = $this->input->get('region');
|
||||
$region = is_numeric($region) ? (int)$region : 1;
|
||||
|
||||
$data = $this->bands->get_all_bandedges_for_user($region);
|
||||
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($data);
|
||||
|
||||
Reference in New Issue
Block a user