Commit 39d2a700 authored by Michael Herold's avatar Michael Herold
Browse files

Adds better domain ordering

parent 93b5968c
......@@ -209,7 +209,8 @@ class Db extends \hemio\edentata\ModuleDb
;
$stmt->select(['domain']);
$stmt->options('WHERE registered = :registered GROUP BY domain');
$stmt->selectAs('t');
$stmt->options('WHERE registered = :registered GROUP BY domain ORDER BY dns._domain_order(t.domain)');
return $stmt->execute(['registered' => $registered]);
}
......
Supports Markdown
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