Skip to content

Commit 61b2928

Browse files
committed
Align ordering of QSL to match with overview view
1 parent be70b37 commit 61b2928

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

application/views/logbookadvanced/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@
203203
<th>Name</th>
204204
<th>QSL Via</th>
205205
<th>QSL</th>
206-
<?php if ($this->session->userdata('user_lotw_name') != ""){
207-
echo '<th class="lotwconfirmation">LoTW</th>';
208-
} ?>
209206
<?php if ($this->session->userdata('user_eqsl_name') != ""){
210207
echo '<th class="eqslconfirmation">eQSL</th>';
211208
} ?>
209+
<?php if ($this->session->userdata('user_lotw_name') != ""){
210+
echo '<th class="lotwconfirmation">LoTW</th>';
211+
} ?>
212212
<th>QSL Msg</th>
213213
<th>DXCC</th>
214214
<th>State</th>

assets/js/sections/logbookadvanced.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ function updateRow(qso) {
2727
cells.eq(c++).text(qso.name);
2828
cells.eq(c++).text(qso.qslVia);
2929
cells.eq(c++).html(qso.qsl);
30-
if ($(".lotwconfirmation")[0]){
31-
cells.eq(c++).html(qso.lotw);
32-
}
3330
if ($(".eqslconfirmation")[0]){
3431
cells.eq(c++).html(qso.eqsl);
3532
}
33+
if ($(".lotwconfirmation")[0]){
34+
cells.eq(c++).html(qso.lotw);
35+
}
3636
cells.eq(c++).text(qso.qslMessage);
3737
cells.eq(c++).text(qso.dxcc);
3838
cells.eq(c++).text(qso.state);
@@ -82,12 +82,12 @@ function loadQSOTable(rows) {
8282
data.push(qso.name);
8383
data.push(qso.qslVia);
8484
data.push(qso.qsl);
85-
if ($(".lotwconfirmation")[0]){
86-
data.push(qso.lotw);
87-
}
8885
if ($(".eqslconfirmation")[0]){
8986
data.push(qso.eqsl);
9087
}
88+
if ($(".lotwconfirmation")[0]){
89+
data.push(qso.lotw);
90+
}
9191
data.push(qso.qslMessage);
9292
data.push(qso.dxcc+(qso.end == null ? '' : ' <span class="badge badge-danger">Deleted DXCC</span>'));
9393
data.push(qso.state);

0 commit comments

Comments
 (0)