Bug 1267585

Summary: Filter within Activation Keys -> Host Collections only works on visible host collections
Product: Red Hat Satellite Reporter: Stuart Auchterlonie <sauchter>
Component: Content ManagementAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.2CC: bbuckingham, cwelton, rplevka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14120
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.26-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:25:44 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: 1317008    
Attachments:
Description Flags
host-collection list none

Description Stuart Auchterlonie 2015-09-30 13:24:20 UTC
Description of problem:

When trying to assign a host collection to an activation key,
if you have a large number of host collections (such that there
are multiple pages of host collections), you would use a filter
to try to quickly find the host collection you are after.

However the filter only works on the items which are currently
visible. You first have to scroll to the part of the list which
contains the host collection you are interested in, and then the
filter will find it.

This defeats the purpose of the filter

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

Sat 6.1.2

How reproducible:

100%

Steps to Reproduce:
1. Create a large number of host collections
2. Create an activation key
3. Select the Host Collections tab, then the add tab
4. Put in a filter which should select a host collection
   which is not on the currently visible page

Actual results:

Host collection is not found, as the filter is only applied
to the visible page, not the whole list

Expected results:

The whole list of host collections is filtered and only the
matching host collections are shown.

Additional info:

Comment 2 Brad Buckingham 2016-03-09 14:32:31 UTC
Created redmine issue http://projects.theforeman.org/issues/14120 from this bug

Comment 3 Brad Buckingham 2016-03-09 14:35:26 UTC
Upstream katello PR: https://github.com/Katello/katello/pull/5862

Comment 4 Bryan Kearney 2016-03-09 15:02:14 UTC
Upstream bug component is Content Management

Comment 5 Bryan Kearney 2016-03-16 02:02:10 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14120 has been closed
-------------
Brad Buckingham
Applied in changeset commit:katello|cbc79a620c9fa665bee30a8bd4bc25a7df836b2e.

Comment 6 Roman Plevka 2016-06-27 07:49:56 UTC
Created attachment 1172793 [details]
host-collection list

VERIFIED
on sat6.2.0 beta (GA17.0)

The form now displays full list, thus the filtering works globally.

Comment 7 Bryan Kearney 2016-07-27 11:25:44 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:1501