Bug 858726

Summary: Content Search - Compare: Should compare button be disabled if only one item is selected?
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED UPSTREAM QA Contact: Corey Welton <cwelton>
Severity: low Docs Contact:
Priority: low    
Version: 6.0.1CC: mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 18:14:56 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:

Description Corey Welton 2012-09-19 13:57:53 UTC
Description of problem:

When comparing items in content search -- say, repos, for example -- the "Compare Repositories" button is disabled when no repos are selected. However, it is enabled when only one is selected.

This is kind of weird - it's basically a no-op, comparing against itself.

Just wondering if maybe we should disable the button until two or more items are selected.  Kind of a question for UXD, I suppose.  Just seems like it could be kind of confusing to a new user.

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


How reproducible:


Steps to Reproduce:
1.  Sync multiple repos
2.  Content > Content Search > Content type: Repositories
3.  From the Repositories div, search for and select only ONE repo; submit
4.  On the ensuing search results, observe "Compare Repositories" button, noting it is disabled.
5.  Mark one result in search; observe "Compare Repositories" button.
6.  Submit
  
Actual results:
The result compares... against itself. Or doesn't really compare anything

Expected results:

Maybe we should disable this button until two or more items are selected.

Additional info:

Comment 1 Eric Helms 2012-12-18 20:35:24 UTC
Upstream - https://github.com/Katello/katello/pull/1305

Compare repositories button should disable now if there are less than two repositories selected.

Comment 2 Eric Helms 2012-12-19 16:36:29 UTC
Fixed as of 54b33ce7a0237dc1d15ab2e994d0d7f5b3603da4

Comment 3 Mike McCune 2013-08-16 17:59:31 UTC
getting rid of 6.0.0 version since that doesn't exist

Comment 4 Mike McCune 2013-09-19 18:14:56 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.