← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1591981] Re: Emulated pagination helper returns marker item when page_reverse is used

 

Reviewed:  https://review.openstack.org/328992
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ce0981fa203467cba629b48c8e93397415358f52
Submitter: Jenkins
Branch:    master

commit ce0981fa203467cba629b48c8e93397415358f52
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date:   Mon Jun 13 14:26:45 2016 +0200

    Don't return marker item when paginating backwards
    
    In emulated pagination mode, we should not return the marker when
    paginating backwards (page_reverse), same as we do when we paginate
    forward, or when we paginate backwards with a plugin that supports
    native pagination.
    
    Closes-Bug: #1591981
    Change-Id: I8b553ab22846122dde22372f9901e46a5276ee8e


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1591981

Title:
  Emulated pagination helper returns marker item when page_reverse is
  used

Status in neutron:
  Fix Released

Bug description:
  When paginating for a plugin that does not support native pagination,
  and using page_reverse with a marker, the marker is returned as part
  of the result. This is not in line with native behaviour, as well as
  with behaviour of forward directed pagination.

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


References