← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1518893] Re: Instance flavor column does not sort the proper way

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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/1518893

Title:
  Instance flavor column does not sort the proper way

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Latest horizon from master branch.

  When displaying the instance list of a project in the Horizon
  dashboard (/project/instances/) and sorting the instances by the
  "size" column, it won't be sorted the right way.

  
  How to reproduce:

  Create 3 instances, 2 with flavor m1.tiny and 1 with flavor m1.small.
  Click on the "size" header several times to order them.

  Expected result:
  m1.tiny
  m1.tiny
  m1.small

  Actual result:
  m1.tiny
  m1.small
  m1.tiny

  
  One would expect them to be sorted by name but instead the "size" filter is used which produces the unordered results.
  https://github.com/openstack/horizon/blob/master/horizon%2Fstatic%2Fhorizon%2Fjs%2Fhorizon.tables.js#L258-L285

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


References