← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804391] Re: Pagination of snapshots in not correct

 

Reviewed:  https://review.openstack.org/619698
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9faf1cd109c2af47e587237e0f01a9e052039e23
Submitter: Zuul
Branch:    master

commit 9faf1cd109c2af47e587237e0f01a9e052039e23
Author: Wangliangyu <wangliangyu@xxxxxxxxxxxxx>
Date:   Wed Nov 21 18:19:21 2018 +0800

    Fix bug about snapshot pagination
    
    Now, one page content will be changed after Clicking
    "Next page" or "Prev page" to go back.
    
    As we know, the order of the list could not be changed
    at will, for one at the beginning or the end is a marker.
    The marker is very importent for pagination.
    So, this commit remove the sort of snapshots and reverse
    the sort of the previous page ones.
    
    Change-Id: I8d3d0cf4a1e6526bed3055b18741b1cf5d6166ff
    Closes-Bug: #1804391


** Changed in: horizon
       Status: In Progress => 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/1804391

Title:
  Pagination of snapshots in not correct

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  1.Assume we have 6 snapshots s1-s6 and page size is 5.
  2.Now we access Project->Volumes->Snapshots, we could see s6-s2 in the first page.
  3.Click "Next >>", we could see s1.
  4.Click "<< Prev", we could see the s2-s6, instead of s6-s2.
  5.Click "Next >>", we could see s5-s1.
  6.Click "<< Prev", we could see s6.
  7.Now, we found the first page always is s6, and second page always is s5-s1.

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


References