[Search] Fix for callsign link not working in duplicate search
这个提交包含在:
父节点
678ca03873
当前提交
8d3f338282
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
|
|
@ -25,10 +25,11 @@ if ($qsos->result() != NULL) {
|
||||||
$custom_date_format = $this->config->item('qso_date_format');
|
$custom_date_format = $this->config->item('qso_date_format');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
foreach ($qsos->result() as $qso) {
|
foreach ($qsos->result() as $qso) {
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo '<td style=\'text-align: center\'>' . $qso->occurence . '</td>';
|
echo '<td style=\'text-align: center\'>' . $qso->occurence . '</td>';
|
||||||
echo '<td style=\'text-align: center\'><form id="searchcall" method="POST" action="'.site_url('search'). '"><input type="hidden" value="'. strtoupper($qso->COL_CALL) .'" name="callsign"><a href="javascript:$(\'#searchcall\').submit()">' . $qso->COL_CALL . '</a></form></td>';
|
echo '<td style=\'text-align: center\'><form id="searchcall_'.$i.'" method="POST" action="'.site_url('search'). '"><input type="hidden" value="'. strtoupper($qso->COL_CALL) .'" name="callsign"><a href="javascript:$(\'#searchcall_'.$i++.'\').submit()">' . $qso->COL_CALL . '</a></form></td>';
|
||||||
echo '<td style=\'text-align: center\'>'; $timestamp = strtotime($qso->Mintime); echo date($custom_date_format, $timestamp); echo '</td>';
|
echo '<td style=\'text-align: center\'>'; $timestamp = strtotime($qso->Mintime); echo date($custom_date_format, $timestamp); echo '</td>';
|
||||||
echo '<td style=\'text-align: center\'>'; $timestamp = strtotime($qso->Mintime); echo date('H:i', $timestamp); echo '</td>';
|
echo '<td style=\'text-align: center\'>'; $timestamp = strtotime($qso->Mintime); echo date('H:i', $timestamp); echo '</td>';
|
||||||
echo '<td style=\'text-align: center\'>'; $timestamp = strtotime($qso->Maxtime); echo date($custom_date_format, $timestamp); echo '</td>';
|
echo '<td style=\'text-align: center\'>'; $timestamp = strtotime($qso->Maxtime); echo date($custom_date_format, $timestamp); echo '</td>';
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用