Project

General

Profile

Bug #7172

Sorting by hostname in Services > DHCP Server > LAN should be "natural" (alphanumeric friendly)

Added by Sean McBride over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP Server
Target version:
-
Start date:
01/30/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3.2
Affected Architecture:

Description

Under "Services > DHCP Server > LAN" if I sort the 'static mappings' table by the hostname column, I get results like:

builder10
builder12
builder13
builder3
builder7
builder8

when I would expect:

builder3
builder7
builder8
builder10
builder12
builder13

I don't know PHP, but a quick google suggests you need to use "SORT_NATURAL":

http://php.net/manual/en/function.sort.php

Likely there are other tables on other screens with this same issue.

History

#1 Updated by Jim Pingle about 1 year ago

  • Category changed from Web Interface to DHCP Server

Also available in: Atom PDF