Bug 1291904 - Requirement for an additional sorting option in the REST API to perform case-insensitive sorting on a list
Summary: Requirement for an additional sorting option in the REST API to perform case-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.0
Assignee: Gregg Tanzillo
QA Contact: Taras Lehinevych
URL:
Whiteboard:
Depends On:
Blocks: 1292620
TreeView+ depends on / blocked
 
Reported: 2015-12-15 20:40 UTC by Aparna Karve
Modified: 2016-08-03 01:33 UTC (History)
5 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1292620 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:21:18 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Aparna Karve 2015-12-15 20:40:48 UTC
Description of problem:Requirement for an additional sorting option in the REST API to perform case-insensitive sorting on a list


Version-Release number of selected component (if applicable):5.6


How reproducible:


Steps to Reproduce:
1./api/service_catalogs?expand=resources&sort_by=name gives a list with all uppercase alphabetically sorted names followed by all lowercase alphabetically sorted names
2.
3.

Actual results:


Expected results: An additional sort option (say NOCASE=true) that will perform a case-insensitive sort


Additional info: The idea here is to be consistent with how the lists are
sorted in the Classic UI

Comment 2 Aparna Karve 2015-12-18 19:58:29 UTC
Fixed by this upstream PR - https://github.com/ManageIQ/manageiq/pull/5871

REST API URL example -

/api/service_catalogs?expand=resources&sort_by=name&sort_order=asc&sort_options=ignore_case

Comment 3 Taras Lehinevych 2016-05-04 10:24:19 UTC
Verified in 5.6.0.5-beta2.4

Comment 5 errata-xmlrpc 2016-06-29 15:21:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348


Note You need to log in before you can comment on or make changes to this bug.