Merge pull request #1217 from phl0/fixLbaAdif

[LBA] Fix edit query
This commit is contained in:
Florian (DF2ET)
2024-11-19 14:20:11 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -383,7 +383,7 @@ class Logbookadvanced_model extends CI_Model {
$order = $this->getSortorder($sortorder);
$sql = "
SELECT qsos.*, lotw_users.*, station_profile.*, dxcc_entities.name AS station_country, d2.name as dxccname, exists(select 1 from qsl_images where qsoid = qsos.COL_PRIMARY_KEY) as qslcount, coalesce(contest.name, qsos.col_contest_id) as contestname
SELECT qsos.*, lotw_users.*, station_profile.*, dxcc_entities.name AS station_country, dxcc_entities.adif as adif, d2.name as dxccname, exists(select 1 from qsl_images where qsoid = qsos.COL_PRIMARY_KEY) as qslcount, coalesce(contest.name, qsos.col_contest_id) as contestname
FROM " . $this->config->item('table_name') . " qsos
INNER JOIN station_profile ON qsos.station_id = station_profile.station_id
LEFT OUTER JOIN dxcc_entities ON qsos.COL_MY_DXCC = dxcc_entities.adif

View File

@@ -80,7 +80,7 @@ function updateRow(qso) {
cells.eq(c++).text(qso.qslMessage);
}
if (user_options.dxcc.show == "true"){
cells.eq(c++).html(qso.dxccname);
cells.eq(c++).html(qso.dxcc);
}
if (user_options.state.show == "true"){
cells.eq(c++).html(qso.state);