← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856243] [NEW] "prev" link in Horizon instances panel does not paginate correctly.

 

Public bug reported:

The prev link that appears on an "Instances" page when the number of
instances is greater than the admin setting of "Items per page" is not
working.  This is easily reproducible on devstack (master) by doing the
following

1) I create 5 test instances test-1 to test-5

2) In Settings found by clicking the admin button on the upper right
side in Horizon, I change "Items per page to 2"

3) In the Instances page, I see for example test-5 and test-4.

4) If I click "next" it now shows test-2 and test-1.

5) If I now click "prev", it shows test-3 and test-1

6) If I click next it now shows test-3.

7) If I click prev, I get nothing.

It seems if you only click next, it does step forward correctly.
something with "prev" seems to not keep the correct sort order.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  "prev" link in Horizon instances panel does not paginate correctly.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The prev link that appears on an "Instances" page when the number of
  instances is greater than the admin setting of "Items per page" is not
  working.  This is easily reproducible on devstack (master) by doing
  the following

  1) I create 5 test instances test-1 to test-5

  2) In Settings found by clicking the admin button on the upper right
  side in Horizon, I change "Items per page to 2"

  3) In the Instances page, I see for example test-5 and test-4.

  4) If I click "next" it now shows test-2 and test-1.

  5) If I now click "prev", it shows test-3 and test-1

  6) If I click next it now shows test-3.

  7) If I click prev, I get nothing.

  It seems if you only click next, it does step forward correctly.
  something with "prev" seems to not keep the correct sort order.

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


Follow ups