api: page_reverse does not work if limit passed
Bug #1583289 reported by
Ihar Hrachyshka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Medium
|
Ihar Hrachyshka |
Bug Description
In API, if page_reverse is passed with limit, then the result is not in reversed order. This is because common_db_mixin mistakenly apply .reverse() on the result from database, breaking the order as returned from database backend.
Changed in neutron: | |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Fix: https:/ /review. openstack. org/318270