Merge pull request #1894 from phl0/sortQslPrintDesc
Sort QSOs for QSLprint DESC as in other places
这个提交包含在:
		
						当前提交
						34d9512aad
					
				
					共有  1 个文件被更改,包括 2 次插入 和 2 次删除
				
			
		| 
						 | 
				
			
			@ -53,7 +53,7 @@ class Qslprint_model extends CI_Model {
 | 
			
		|||
		// always filter user. this ensures that even if the station_id is from another user no inaccesible QSOs will be returned
 | 
			
		||||
		$this->db->where('station_profile.user_id', $this->session->userdata('user_id'));
 | 
			
		||||
		$this->db->where_in('COL_QSL_SENT', array('R', 'Q'));
 | 
			
		||||
		$this->db->order_by("COL_TIME_ON", "ASC");
 | 
			
		||||
		$this->db->order_by("COL_TIME_ON", "DESC");
 | 
			
		||||
		$query = $this->db->get($this->config->item('table_name'));
 | 
			
		||||
 | 
			
		||||
		return $query;
 | 
			
		||||
| 
						 | 
				
			
			@ -107,7 +107,7 @@ class Qslprint_model extends CI_Model {
 | 
			
		|||
		$this->db->where('station_profile.user_id', $this->session->userdata('user_id'));
 | 
			
		||||
		$this->db->where('COL_CALL like "%'.$callsign.'%"');
 | 
			
		||||
		$this->db->where('coalesce(COL_QSL_SENT, "") not in ("R", "Q")');
 | 
			
		||||
		$this->db->order_by("COL_TIME_ON", "ASC");
 | 
			
		||||
		$this->db->order_by("COL_TIME_ON", "DESC");
 | 
			
		||||
		$query = $this->db->get($this->config->item('table_name'));
 | 
			
		||||
 | 
			
		||||
		return $query;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		正在加载…
	
		在新工单中引用