kopia lustrzana https://github.com/magicbug/Cloudlog
Sort QSL images by last added to be on top
rodzic
98dd08a6f8
commit
4cb0a9a3e9
|
@ -9,6 +9,7 @@ class Qsl_model extends CI_Model {
|
|||
$this->db->from($this->config->item('table_name'));
|
||||
$this->db->join('qsl_images', 'qsl_images.qsoid = ' . $this->config->item('table_name') . '.col_primary_key');
|
||||
$this->db->where_in('station_id', $logbooks_locations_array);
|
||||
$this->db->order_by("id", "desc");
|
||||
|
||||
return $this->db->get();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue