Project

General

Profile

Bug #1916

Wrong sorting of VLANs and Networks in Subnets overview

Added by Andreas Ntaflos almost 6 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Low
Assignee:
Sam Kottler
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When opening the Subnets overview page and klicking on the Network column or VLAN ID header to sort the table by Network or VLAN ID the sorting seems to treat both VLAN IDs and networks as strings. This results in a wrong sort order, where, e.g., 10.1.44.0/24 comes before 10.1.7.0/24 or VLAN 31 comes before VLAN 4. See attached screenshot. It would be nice to be able to sort properly based on the respective integer values.

foreman-vlan-sort.png View foreman-vlan-sort.png 23.4 KB Andreas Ntaflos, 10/24/2012 01:53 PM
Foreman vlan sort

Related issues

Related to Foreman - Bug #23376: Unable to seed develop with MariaDB 10.2: No integer type has byte size 10. Use a decimal with scale 0 instead.Closed2018-04-24

Associated revisions

Revision 55e2afa1 (diff)
Added by Tomer Brisker 9 months ago

Fixes #1916 - Subnet vlan id should be integer

History

#1 Updated by Greg Sutcliffe almost 6 years ago

  • Target version set to Bug scrub

#2 Updated by Sam Kottler almost 6 years ago

  • Assignee changed from Ohad Levy to Sam Kottler

#3 Updated by Greg Sutcliffe almost 5 years ago

  • Target version deleted (Bug scrub)

#4 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5131 added

#5 Updated by Timo Goebel 9 months ago

  • Legacy Backlogs Release (now unused) set to 330

#6 Updated by Anonymous 9 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#7 Updated by Lukas Zapletal 6 months ago

  • Related to Bug #23376: Unable to seed develop with MariaDB 10.2: No integer type has byte size 10. Use a decimal with scale 0 instead. added

Also available in: Atom PDF