Currently, previous page in checkpoints pagination not
work, it always throw an error in the web page. It is
because that checkpoints in karbor do not need reverse
the order (checkpoints are sorted by 'timestamp@id' in
the backend, so we can not do the reverse only be the
id or name)
Reviewed: https:/ /review. openstack. org/500656 /git.openstack. org/cgit/ openstack/ karbor- dashboard/ commit/ ?id=1d7fd7c754c 48f39534984d179 2698f2dce17e10
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1d7fd7c754c48f3 9534984d1792698 f2dce17e10
Author: Pengju Jiao <email address hidden>
Date: Tue Sep 5 10:25:10 2017 +0800
Fix checkpoints pagination error
Currently, previous page in checkpoints pagination not
work, it always throw an error in the web page. It is
because that checkpoints in karbor do not need reverse
the order (checkpoints are sorted by 'timestamp@id' in
the backend, so we can not do the reverse only be the
id or name)
This patch will fix it.
Change-Id: I45c3e7337bf2ee 9d3f2fbf9ee7a43 8884b8b8ca9
Closes-Bug: #1714909