Skip to content

Commit ca8ce2f

Browse files
authored
Merge pull request wavelog#1929 from phl0/fixQslQueue
Fix SQL group by error in QSL queue
2 parents b1ab7e7 + d4d0855 commit ca8ce2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/models/Qslprint_model.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function update_qsos($station_ids) {
7070
function get_qsos_for_print($station_id = 'All') {
7171
$binding=[];
7272
$binding[]=$this->session->userdata('user_id');
73-
$sql="SELECT count(distinct oldlog.col_primary_key) as previous_qsl, log.*,sp.*,o.*
73+
$sql="SELECT count(distinct oldlog.col_primary_key) as previous_qsl, log.COL_QSL_SENT, log.COL_PRIMARY_KEY, log.COL_DXCC, log.COL_CALL, log.COL_SAT_NAME, log.COL_SAT_MODE, log.COL_BAND_RX, log.COL_TIME_ON, log.COL_MODE, log.COL_RST_SENT, log.COL_RST_RCVD, log.COL_QSL_VIA, log.COL_QSL_SENT_VIA, log.COL_SUBMODE, log.COL_BAND, sp.station_id, sp.station_callsign, sp.station_profile_name, o.qsoid
7474
FROM ".$this->config->item('table_name')." log
7575
INNER JOIN station_profile sp ON sp.`station_id` = log.`station_id`
7676
LEFT OUTER JOIN oqrs o ON o.`qsoid` = log.`COL_PRIMARY_KEY`

0 commit comments

Comments
 (0)