Sort QSL images by last added to be on top

pull/1472/head
phl0 2022-05-06 08:02:16 +02:00
rodzic 98dd08a6f8
commit 4cb0a9a3e9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 48EA1E640798CA9A
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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();
}