mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Use PK as secondary sorting criteria (as in other places)
This commit is contained in:
@@ -640,6 +640,7 @@ class Logbook extends CI_Controller {
|
||||
$this->db->group_end();
|
||||
|
||||
$this->db->order_by($this->config->item('table_name').".COL_TIME_ON", "desc");
|
||||
$this->db->order_by($this->config->item('table_name').".COL_PRIMARY_KEY", "desc");
|
||||
$this->db->limit($count);
|
||||
|
||||
$query = $this->db->get();
|
||||
|
||||
Reference in New Issue
Block a user