Adjust SQL to be less picky about callsigns
这个提交包含在:
		
							父节点
							
								
									7399e7755f
								
							
						
					
					
						当前提交
						39d1ca9964
					
				
					共有  1 个文件被更改,包括 1 次插入 和 1 次删除
				
			
		|  | @ -5,7 +5,7 @@ class Publicsearch extends CI_Model { | ||||||
| 	function search($slug, $callsign) { | 	function search($slug, $callsign) { | ||||||
| 		if ($this->public_search_enabled($slug)) { | 		if ($this->public_search_enabled($slug)) { | ||||||
| 			$userid = $this->get_userid_for_slug($slug); | 			$userid = $this->get_userid_for_slug($slug); | ||||||
| 			$this->db->where('COL_CALL', $callsign); | 			$this->db->like('COL_CALL', $callsign); | ||||||
| 			$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'); | ||||||
| 			$this->db->join('lotw_users', 'lotw_users.callsign = '.$this->config->item('table_name').'.col_call', 'left outer'); | 			$this->db->join('lotw_users', 'lotw_users.callsign = '.$this->config->item('table_name').'.col_call', 'left outer'); | ||||||
| 			$this->db->where('station_profile.user_id', $userid); | 			$this->db->where('station_profile.user_id', $userid); | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用