Commit c087ed87 authored by Soldatoff's avatar Soldatoff

Добавил группировку по труду

parent c6afd633
...@@ -197,7 +197,7 @@ class Typo extends CI_Model { ...@@ -197,7 +197,7 @@ class Typo extends CI_Model {
$this->db->from("messages"); $this->db->from("messages");
$this->db->where("site_id", $siteId); $this->db->where("site_id", $siteId);
$this->db->where("status", 0); $this->db->where("status", 0);
$this->db->order_by("date", "DESC"); $this->db->order_by("link","date", "DESC");
return $this->db->get()->result(); return $this->db->get()->result();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment