← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1480563] [NEW] weird sort for hypervisor_hostname

 

Public bug reported:

weird sort for hypervisor_hostname

For example, there are 4 hypervisors and this is the usually ordered
list:

  east-01, east-02, west-01, west-02

However when we do sort by hypervisor_hostname in the hypervisors table
on the admin view, this is a possible result:

  east-01, west-01, east-02, west-02

This is caused by the fact that a javascript sort function (naturalSort)
sees only a number in a text and ignores its prefix for ordering.

** Affects: horizon
     Importance: Undecided
     Assignee: Arata Notsu (arata776)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1480563

Title:
  weird sort for hypervisor_hostname

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  weird sort for hypervisor_hostname

  For example, there are 4 hypervisors and this is the usually ordered
  list:

    east-01, east-02, west-01, west-02

  However when we do sort by hypervisor_hostname in the hypervisors table
  on the admin view, this is a possible result:

    east-01, west-01, east-02, west-02

  This is caused by the fact that a javascript sort function (naturalSort)
  sees only a number in a text and ignores its prefix for ordering.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1480563/+subscriptions


Follow ups