mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:10:20 +02:00
fixed the ordering of retention policies
This commit is contained in:
1 parent
0f787d9c52
commit
71f3e8bba0
1 file changed
+1
-1
@@ -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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user