Bug 1359932

Summary: instances in automate sorted backwards in right pane
Product: Red Hat CloudForms Management Engine Reporter: Jeffrey Cutter <jcutter>
Component: UI - OPSAssignee: Eric Hayes <ehayes>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: low Docs Contact:
Priority: low    
Version: 5.6.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate:ui
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1370572 (view as bug list) Environment:
Last Closed: 2017-01-04 12:58:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1370572    
Attachments:
Description Flags
instance sort reversed none

Description Jeffrey Cutter 2016-07-25 20:00:16 UTC
Created attachment 1183971 [details]
instance sort reversed

Description of problem:

instances in automate sorted backwards in right pane

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


5.6.0.13.20160624114606_13a9153


How reproducible:

Go to any class in Automate with a few instances and observe the sort of the left side is correct and the sort on the right is reversed.

Actual results:

Sort on right reversed.

Expected results:

Sort on right in alphabetical order.

Additional info:

See attached example.

Comment 2 Harpreet Kataria 2016-07-25 20:14:00 UTC
Eric,

Can you fix the right side to sort the list of instances in the correct order to match with Instances in the tree on the left.

Thanks,
~Harpreet

Comment 4 CFME Bot 2016-08-08 19:20:59 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c032469b6d1f852df1fd5d779fda29aea7f0cc8b

commit c032469b6d1f852df1fd5d779fda29aea7f0cc8b
Author:     Eric Hayes <eric>
AuthorDate: Mon Aug 8 10:51:44 2016 -0700
Commit:     Eric Hayes <eric>
CommitDate: Mon Aug 8 10:51:44 2016 -0700

    Sort class instances by name in right cell
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1359932

 app/views/miq_ae_class/_class_instances.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Milan Falešník 2016-09-16 11:07:05 UTC
Verified in 5.7.0.0 but I noticed the .missing is sorted like the leading dot was no there, I will check the issues if htat was already reported.

Comment 9 errata-xmlrpc 2017-01-04 12:58:15 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://rhn.redhat.com/errata/RHBA-2017-0012.html