← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1583289] [NEW] api: page_reverse does not work if limit passed

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Ihar Hrachyshka (ihar-hrachyshka)
         Status: In Progress


** Tags: api

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

Title:
  api: page_reverse does not work if limit passed

Status in neutron:
  In Progress

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.

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


Follow ups