add the pagination previous button as api support becomes more consistent

Registered by Cindy Lu

Due to the nature of the marker+limit pagination mechanism, we are limited to forward progression ('Next' link). This seems like the standard way of pagination today.

If there is uniform support for the sort_dir and sort_key params too, we can support the 'Prev' link. This will allow us to have a more standard UI (instead of user having to press the browser back button).

In some projects, these two params are implemented (along with the marker,limit) at the db layer, but not exposed to the APIs. This blueprint will serve to implement the Previous link in the UI once there is API support.

Currently Glance supports sort_dir, sort_key.
[06 03 2014] Nova instances support has been approved and is in review: https://blueprints.launchpad.net/nova/+spec/nova-pagination

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Medium
Drafter:
Cindy Lu
Direction:
Approved
Assignee:
Cindy Lu
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Timur Sufiev
Completed by
Thai Tran

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/s,n,z

Addressed by: https://review.openstack.org/91111
    add Previous link to Admin > Images table

Gerrit topic: https://review.openstack.org/#q,topic:bp/pagination-add-prev-link,n,z

Addressed by: https://review.openstack.org/107120
    add Previous link to Project > Stacks table

Gerrit topic: https://review.openstack.org/#q,topic:bug/1514678,n,z

Addressed by: https://review.openstack.org/289314
    Add "prev" to instance list pagination

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.