Bug 1436720 - When using dynamic drop downs, sorting of items doesn't work in self service portal.
Summary: When using dynamic drop downs, sorting of items doesn't work in self service ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Tina Fitzgerald
QA Contact: Shveta
URL:
Whiteboard: ssui:dialog
Depends On:
Blocks: 1442168 1442169
TreeView+ depends on / blocked
 
Reported: 2017-03-28 13:48 UTC by Ryan Spagnola
Modified: 2020-12-14 08:25 UTC (History)
13 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1442168 1442169 (view as bug list)
Environment:
Last Closed: 2018-07-31 16:10:22 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sorting in OPS UI (91.39 KB, image/png)
2017-04-11 22:01 UTC, Shveta
no flags Details
SUI (75.10 KB, image/png)
2017-04-11 22:01 UTC, Shveta
no flags Details
Classic UI (19.13 KB, image/png)
2017-04-12 11:09 UTC, Ryan Spagnola
no flags Details
SelfService UI (10.78 KB, image/png)
2017-04-12 11:09 UTC, Ryan Spagnola
no flags Details
sort method (202.64 KB, image/png)
2017-10-31 20:18 UTC, Shveta
no flags Details
Sorting in OPS UI (89.91 KB, image/png)
2017-10-31 20:19 UTC, Shveta
no flags Details
Sorting in SUI - Working (77.40 KB, image/png)
2017-10-31 20:19 UTC, Shveta
no flags Details

Description Ryan Spagnola 2017-03-28 13:48:43 UTC
Description of problem:
When using dynamic drop downs, sorting of items doesn't work in self service portal.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Chris Hale 2017-03-28 15:36:10 UTC
Could you please provide steps to reproduce this issue?

Comment 7 Chris Kacerguis 2017-04-07 12:03:10 UTC
Chris - Let's just use ng-sort

Comment 8 Chris Hale 2017-04-10 17:14:10 UTC
Shveta, 
     Could you try to see if you can import this service dialog and associated data from this ticket?  I seem to be unable to and wanted to see if you could validate that the attached files work. 

Thanks in advance

Comment 10 Shveta 2017-04-10 23:42:16 UTC
Hi Ryan , 

I used the above method and dialog .
Not able to list the datastores from vcentre.
Can you please check https://10.8.197.160 . Service - "sorting"

Comment 12 Shveta 2017-04-11 16:21:42 UTC
Sorry that one is gone .
Please check https://10.8.198.98

Comment 14 Shveta 2017-04-11 22:01:12 UTC
Created attachment 1270959 [details]
Sorting in OPS UI

Since I could not get the original method load the Datacenters I added some values manually. 

The values are neither sorted in OPS UI nor in SUI .
But the order in which the values are shown are different in both UI's

Comment 15 Shveta 2017-04-11 22:01:42 UTC
Created attachment 1270960 [details]
SUI

Comment 16 Ryan Spagnola 2017-04-12 11:09:16 UTC
Created attachment 1271108 [details]
Classic UI

Comment 17 Ryan Spagnola 2017-04-12 11:09:44 UTC
Created attachment 1271109 [details]
SelfService UI

Comment 18 Ryan Spagnola 2017-04-12 11:12:56 UTC
I have attached screenshots provided by the customer. The Classic UI is sorted alphabetically with the default choose option at the top. The SelfService dropdown is random with the default choose at the bottom. Is it possible to have these match?

Comment 19 Chris Hale 2017-04-12 20:00:44 UTC
GH PR https://github.com/ManageIQ/manageiq-ui-service/pull/671

Comment 22 Shveta 2017-10-31 20:18:32 UTC
Created attachment 1346093 [details]
sort method

Sorting is working in SUI but not in OPS UI.
Used a method that has sorting based on value in ascending order . (Screenshot1)

Comment 23 Shveta 2017-10-31 20:19:13 UTC
Created attachment 1346096 [details]
Sorting in OPS UI

Values are not sorted .

Comment 24 Shveta 2017-10-31 20:19:40 UTC
Created attachment 1346097 [details]
Sorting in SUI - Working

Comment 25 Chris Kacerguis 2017-11-03 01:18:26 UTC
Working in SUI, need to be tweaked in Ops.  Sending to that team.

Comment 27 Sudhir Mallamprabhakara 2018-05-23 14:07:59 UTC
Should this bug be closed or does the issue still persists in Ops UI?

Comment 28 Shveta 2018-05-23 22:21:41 UTC
This is working in OPS UI .
Checked in 5.9.3.0.20180522175053_3940873


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