Skip to content

Commit 086d793

Browse files
committed
Temporary fix for CQ Award
1 parent f03cb8f commit 086d793

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

application/models/Cq.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ function get_cq_array($bands, $postdata, $location_list) {
2323
if ($postdata['worked'] != NULL) {
2424
$cqBand = $this->getCQWorked($location_list, $band, $postdata);
2525
foreach ($cqBand as $line) {
26-
$bandCq[$line->col_cqz][$band] = '<div class="bg-danger awardsBgDanger"><a href=\'javascript:displayContacts("' . str_replace("&", "%26", $line->col_cqz) . '","' . $band . '","'. $postdata['mode'] . '","CQZone","")\'>W</a></div>';
26+
$bandCq[$line->col_cqz][$band] = '<div class="bg-danger awardsBgDanger"><a href=\'javascript:displayContacts("' . str_replace("&", "%26", $line->col_cqz) . '","' . $band . '","All", "All","'. $postdata['mode'] . '","CQZone","")\'>W</a></div>';
2727
$cqZ[$line->col_cqz]['count']++;
2828
}
2929
}
3030
if ($postdata['confirmed'] != NULL) {
3131
$cqBand = $this->getCQConfirmed($location_list, $band, $postdata);
3232
foreach ($cqBand as $line) {
33-
$bandCq[$line->col_cqz][$band] = '<div class="bg-success awardsBgSuccess"><a href=\'javascript:displayContacts("' . str_replace("&", "%26", $line->col_cqz) . '","' . $band . '","'. $postdata['mode'] . '","CQZone","'.$qsl.'")\'>C</a></div>';
33+
$bandCq[$line->col_cqz][$band] = '<div class="bg-success awardsBgSuccess"><a href=\'javascript:displayContacts("' . str_replace("&", "%26", $line->col_cqz) . '","' . $band . '","All", "All","'. $postdata['mode'] . '","CQZone","'.$qsl.'")\'>C</a></div>';
3434
$cqZ[$line->col_cqz]['count']++;
3535
}
3636
}

assets/js/sections/cqmap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function style(feature) {
215215

216216
function onClick(e) {
217217
var marker = e.target;
218-
displayContactsOnMap($("#cqmap"),marker.options.title, $('#band2').val(), $('#mode').val(), 'CQZone');
218+
displayContactsOnMap($("#cqmap"),marker.options.title, $('#band2').val(), 'All', 'All', $('#mode').val(), 'CQZone');
219219
}
220220

221221
function onClick2(e) {

0 commit comments

Comments
 (0)