Add number and link to QSO

This commit is contained in:
phl0
2024-08-29 17:28:03 +02:00
parent 6be5ce0f72
commit fd445e0f3d
2 changed files with 7 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ class Distancerecords_model extends CI_Model {
if (!$logbooks_locations_array) {
return null;
}
$sql = 'SELECT t1.sat, t1.distance, t2.COL_TIME_ON time, t2.COL_CALL callsign, t2.COL_GRIDSQUARE grid FROM
$sql = 'SELECT t1.sat, t1.distance, t2.COL_TIME_ON time, t2.COL_CALL callsign, t2.COL_GRIDSQUARE grid, t2.COL_PRIMARY_KEY AS primarykey FROM
(
SELECT MAX(col_distance) distance, COL_SAT_NAME sat
FROM '.$this->config->item('table_name').'