From 71f3e8bba083556b24796f64cbdaf31da0f861a1 Mon Sep 17 00:00:00 2001 From: SJ Date: Tue, 20 Aug 2013 12:04:26 +0200 Subject: [PATCH] fixed the ordering of retention policies --- webui/model/policy/retention.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/policy/retention.php b/webui/model/policy/retention.php index 903eaa73..0b2af7e4 100644 --- a/webui/model/policy/retention.php +++ b/webui/model/policy/retention.php @@ -4,7 +4,7 @@ class ModelPolicyRetention extends Model { 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; }