Show all unconfirmed if no QSL method is selected

This commit is contained in:
phl0
2024-01-31 11:59:45 +01:00
parent f9e568761e
commit 3f877ac1fc
2 changed files with 10 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ class Gridmap extends CI_Controller {
}
}
$data['grid_2char_confirmed'] = ($array_grid_2char_confirmed);
$data['grid_2char_confirmed'] = ($array_grid_2char_confirmed);
$data['grid_4char_confirmed'] = ($array_grid_4char_confirmed);
$data['grid_6char_confirmed'] = ($array_grid_6char_confirmed);

View File

@@ -13,6 +13,10 @@ class Gridmap_model extends CI_Model {
return null;
}
if ($lotw != "true" && $qsl != "true" && $eqsl != "true" && $qrz != "true") {
return null;
}
$location_list = "'".implode("','",$logbooks_locations_array)."'";
$sql = 'SELECT distinct substring(COL_GRIDSQUARE,1,6) as GRID_SQUARES, COL_BAND FROM '
@@ -129,6 +133,11 @@ class Gridmap_model extends CI_Model {
return null;
}
if ($lotw != "true" && $qsl != "true" && $eqsl != "true" && $qrz != "true") {
return null;
}
$location_list = "'".implode("','",$logbooks_locations_array)."'";
$sql = 'SELECT distinct COL_VUCC_GRIDS, COL_BAND FROM '