Bug 1238580 - New company tags not listed alphabetically
Summary: New company tags not listed alphabetically
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: lgalis
QA Contact: Nandini Chandra
URL:
Whiteboard: ui:tag
Depends On:
Blocks: 1291455 1353587
TreeView+ depends on / blocked
 
Reported: 2015-07-02 08:09 UTC by Nandini Chandra
Modified: 2017-01-12 05:02 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1291455 1353587 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:28:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nandini Chandra 2015-07-02 08:09:48 UTC
Description of problem:
-----------------------
When a new company category is added,it gets listed at the bottom of a drop down list and is not sorted alphabetically like the OOTB company categories.


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


How reproducible:
----------------
Always


Steps to Reproduce:
-------------------
1.Navigate to the Configure->Configuration->Settings page.
2.Click 'My Company Categories' tab and add a new category/tag.
3.Assign the tag to a VM.


Actual results:
---------------
While assigning the newly added company category to a VM,observe that the category is listed at the bottom of the drop down list.


Expected results:
----------------
Newly created company categories should be listed alphabetically in the tag assignment drop down.


Additional info:
----------------

Comment 3 lgalis 2015-08-17 20:18:10 UTC
PR for upstream:
https://github.com/ManageIQ/manageiq/pull/3904

Comment 5 CFME Bot 2016-06-16 16:35:54 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/0fc40288f35c3b41b68bec7cf2135676d2af4745

commit 0fc40288f35c3b41b68bec7cf2135676d2af4745
Author:     Laura Galis <lgalis>
AuthorDate: Wed Jun 15 15:41:00 2016 -0400
Commit:     Laura Galis <lgalis>
CommitDate: Thu Jun 16 08:48:28 2016 -0400

    Sort the tags and tags categories case insensitive
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1238580

 app/controllers/application_controller/tags.rb | 12 ------------
 app/views/layouts/_tag_edit.html.haml          |  2 +-
 app/views/layouts/_tag_edit_cat_tags.html.haml |  4 +++-
 3 files changed, 4 insertions(+), 14 deletions(-)

Comment 6 CFME Bot 2016-06-17 20:41:43 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=16984c8d66d140dd1e73892d1dedd0c508ce90c9

commit 16984c8d66d140dd1e73892d1dedd0c508ce90c9
Merge: d54f998 97760d1
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Jun 17 16:40:50 2016 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Jun 17 16:40:50 2016 -0400

    Merge branch '5.5.z_sort_tags_categories_insensitive' into '5.5.z'
    
    Sort the tags and tags categories case insensitive
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1238580
    (cherry picked from commit 0fc4028)
    
    - not a clean cherry pick for https://github.com/ManageIQ/manageiq/pull/9234
    
    5.5.z BZ https://bugzilla.redhat.com/show_bug.cgi?id=1291455
    
    See merge request !976

 app/controllers/application_controller/tags.rb | 6 ------
 app/views/layouts/_tag_edit.html.haml          | 4 ++--
 app/views/layouts/_tag_edit_cat_tags.html.haml | 4 +++-
 3 files changed, 5 insertions(+), 9 deletions(-)

Comment 7 CFME Bot 2016-06-17 20:41:47 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=97760d1e8be9e87a861582928113f61c1901f4ac

commit 97760d1e8be9e87a861582928113f61c1901f4ac
Author:     Laura Galis <lgalis>
AuthorDate: Wed Jun 15 15:41:00 2016 -0400
Commit:     Laura Galis <lgalis>
CommitDate: Thu Jun 16 15:38:28 2016 -0400

    Sort the tags and tags categories case insensitive
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1238580
    (cherry picked from commit 0fc4028)

 app/controllers/application_controller/tags.rb | 6 ------
 app/views/layouts/_tag_edit.html.haml          | 4 ++--
 app/views/layouts/_tag_edit_cat_tags.html.haml | 4 +++-
 3 files changed, 5 insertions(+), 9 deletions(-)

Comment 11 Nandini Chandra 2016-10-11 18:41:35 UTC
Verified in 5.7.0.4

Comment 12 Nandini Chandra 2016-10-11 18:41:35 UTC
Verified in 5.7.0.4


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