Bug ID 540424: ASM REST: DESC modifier for $orderby option does not affect results

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP ASM(all modules)

Known Affected Versions:
11.5.3

Fixed In:
11.5.4

Opened: Aug 18, 2015

Severity: 2-Critical

Symptoms

Collections returned from the REST API can be sorted by a field from the $orderby ODATA parameter. The default sort order is ascending, but it is meant to allow a "DESC" modified to sort in descending order. The "DESC" modifier has no effect on the sort order.

Impact

The collection is always returned in ascending sort order even if it descending order was requested.

Conditions

ASM REST API is used to retrieve a collection with the elements sorted by a field's value in descending order.

Workaround

None.

Fix Information

The DESC operator is now honored for the $orderby ODATA parameter on ASM REST API requests.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips