mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:50:12 +01:00
fixed the ordering of retention policies
This commit is contained in:
parent
0f787d9c52
commit
71f3e8bba0
@ -4,7 +4,7 @@
|
|||||||
class ModelPolicyRetention extends Model {
|
class ModelPolicyRetention extends Model {
|
||||||
|
|
||||||
public function get_rules() {
|
public function get_rules() {
|
||||||
$query = $this->db->query("SELECT * FROM " . TABLE_RETENTION_RULE . " ORDER BY id");
|
$query = $this->db->query("SELECT * FROM " . TABLE_RETENTION_RULE . " ORDER BY domain, id");
|
||||||
|
|
||||||
if(isset($query->rows)) { return $query->rows; }
|
if(isset($query->rows)) { return $query->rows; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user