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

Last Modified: Apr 10, 2019

Bug Tracker

Affected Product:  See more info
BIG-IP ASM(all modules)

Known Affected Versions:
11.5.1, 11.5.1 HF1, 11.5.1 HF10, 11.5.1 HF11, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.2, 11.5.2 HF1, 11.5.3, 11.5.3 HF1, 11.5.3 HF2

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