make sure only requested callsign is shown
这个提交包含在:
父节点
e71685d5ea
当前提交
0697c84b86
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -137,7 +137,7 @@ class Qslprint_model extends CI_Model {
|
||||||
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
$this->db->join('station_profile', 'station_profile.station_id = '.$this->config->item('table_name').'.station_id');
|
||||||
// always filter user. this ensures that no inaccesible QSOs will be returned
|
// always filter user. this ensures that no inaccesible QSOs will be returned
|
||||||
$this->db->where('station_profile.user_id', $this->session->userdata('user_id'));
|
$this->db->where('station_profile.user_id', $this->session->userdata('user_id'));
|
||||||
$this->db->where('COL_CALL like "%'.$callsign.'%"');
|
$this->db->where('COL_CALL like "%/'.$callsign.'/%" OR COL_CALL like "%/'.$callsign.'" OR COL_CALL like "'.$callsign.'/%" OR COL_CALL = "'.$callsign.'"');
|
||||||
$this->db->where('coalesce(COL_QSL_SENT, "") not in ("R", "Q")');
|
$this->db->where('coalesce(COL_QSL_SENT, "") not in ("R", "Q")');
|
||||||
$this->db->order_by("COL_DXCC", "ASC");
|
$this->db->order_by("COL_DXCC", "ASC");
|
||||||
$this->db->order_by("COL_CALL", "ASC");
|
$this->db->order_by("COL_CALL", "ASC");
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用