specified order_by in FileMode::getAll
This commit is contained in:
parent
ef8f044d12
commit
2bdd1e5e45
@ -26,6 +26,8 @@ class FileModel extends Model
|
||||
{
|
||||
$this->db->trans_start ();
|
||||
$this->db->where ('projectid', $project->id);
|
||||
$this->db->order_by ('tag', 'desc');
|
||||
$this->db->order_by ('name', 'asc');
|
||||
$query = $this->db->get ('file');
|
||||
$this->db->trans_complete ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user