Commit 425720e3 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:sparkles: feat(dhcp): Enable sort in systems DHCP tab

This allows to sort by parent, mac or IP the DHCP tab of a system

issue #5566
Showing with 5 additions and 0 deletions
+5 -0
......@@ -50,6 +50,11 @@ class DhcpHostsAttribute extends OrderedArrayAttribute
$label
);
parent::__construct($attribute, FALSE, $values, TRUE);
$this->setHeaders(array(
_('Parent'),
_('Mac'),
_('IP')
));
}
protected function loadAttrValue ($attrs)
......
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