Added US State and County to the local data look up for the API lookup function
这个提交包含在:
		
							父节点
							
								
									5042ce3f8c
								
							
						
					
					
						当前提交
						f6d8d02357
					
				
					共有  2 个文件被更改,包括 3 次插入 和 1 次删除
				
			
		|  | @ -617,6 +617,8 @@ class API extends CI_Controller { | ||||||
| 				$return['location'] = $call_lookup_results->COL_QTH; | 				$return['location'] = $call_lookup_results->COL_QTH; | ||||||
| 				$return['iota_ref'] = $call_lookup_results->COL_IOTA; | 				$return['iota_ref'] = $call_lookup_results->COL_IOTA; | ||||||
| 				$return['qsl_manager'] = $call_lookup_results->COL_QSL_VIA; | 				$return['qsl_manager'] = $call_lookup_results->COL_QSL_VIA; | ||||||
|  | 				$return['state'] = $call_lookup_results->COL_STATE; | ||||||
|  | 				$return['us_county'] = $call_lookup_results->COL_CNTY; | ||||||
| 
 | 
 | ||||||
| 				if ($return['gridsquare'] != "") { | 				if ($return['gridsquare'] != "") { | ||||||
| 					$return['latlng'] = $this->qralatlng($return['gridsquare']); | 					$return['latlng'] = $this->qralatlng($return['gridsquare']); | ||||||
|  |  | ||||||
|  | @ -386,7 +386,7 @@ class Logbook_model extends CI_Model { | ||||||
|   * |   * | ||||||
|   */ |   */ | ||||||
|   function call_lookup_result($callsign) { |   function call_lookup_result($callsign) { | ||||||
|     $this->db->select('COL_CALL, COL_NAME, COL_QSL_VIA, COL_GRIDSQUARE, COL_QTH, COL_IOTA, COL_TIME_ON'); |     $this->db->select('COL_CALL, COL_NAME, COL_QSL_VIA, COL_GRIDSQUARE, COL_QTH, COL_IOTA, COL_TIME_ON, COL_STATE, COL_CNTY'); | ||||||
|     $this->db->where('COL_CALL', $callsign); |     $this->db->where('COL_CALL', $callsign); | ||||||
|     $where = "COL_NAME != \"\""; |     $where = "COL_NAME != \"\""; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用