Skip to content

Commit

Permalink
fix: sort DHCPServerStaticMappings by ipaddr #583
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed Oct 19, 2024
1 parent 8668101 commit 1d96620
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class DHCPServerStaticMapping extends Model {
$this->config_path = 'staticmap';
$this->subsystem = 'dhcpd';
$this->many = true;
$this->sort_by = ['ipaddr'];

# Define model Fields
$this->mac = new StringField(
Expand Down

0 comments on commit 1d96620

Please sign in to comment.