[QSO] adjustments to the DXCC Stats box

这个提交包含在:
Peter Goodhall 2023-02-20 15:20:16 +00:00
父节点 2808423170
当前提交 d675f05e4c
共有 3 个文件被更改,包括 18 次插入2 次删除

查看文件

@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
| be upgraded / downgraded to.
|
*/
$config['migration_version'] = 113;
$config['migration_version'] = 114;
/*
|--------------------------------------------------------------------------

查看文件

@ -0,0 +1,15 @@
<?php
// Create migration that makes the submode column in the logbook table an index
class Migration_Create_index_for_colsubmode extends CI_Migration {
public function up() {
$this->db->query("ALTER TABLE `".$this->config->item('table_name')."` ADD INDEX (`COL_SUBMODE`)");
}
public function down() {
$this->db->query("ALTER TABLE `".$this->config->item('table_name')."` DROP INDEX (`COL_SUBMODE`)");
}
}
?>

查看文件

@ -408,7 +408,6 @@ $("#callsign").focusout(function() {
if(result.dxcc.entity != undefined) {
$('#country').val(convert_case(result.dxcc.entity));
$('#callsign_info').text(convert_case(result.dxcc.entity));
getDxccResult(result.dxcc.adif, convert_case(result.dxcc.entity));
if($("#sat_name" ).val() != "") {
//logbook/jsonlookupgrid/io77/SAT/0/0
@ -452,6 +451,8 @@ $("#callsign").focusout(function() {
}
changebadge(result.dxcc.entity);
getDxccResult(result.dxcc.adif, convert_case(result.dxcc.entity));
}
if(result.lotw_member == "active") {