Bug 1509415 - Select Organization dialog only showing first 20 organizations
Summary: Select Organization dialog only showing first 20 organizations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-03 17:55 UTC by Roman Plevka
Modified: 2019-08-12 16:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:11:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21719 0 None None None 2017-11-21 11:48:55 UTC

Description Roman Plevka 2017-11-03 17:55:54 UTC
Description of problem:
the 'select organization' dialog on katello pages only lists first 20 organizations.
This is probably due the API call, which by default respects the per_page = 20 option.

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

How reproducible:


Steps to Reproduce:
1. create 20+ orgs
2. navigate to a katello page (e.g. activation keys)
3. switch to 'any org' context
4. the 'select org' dialog appears

Actual results:
only first 20 organizations (alphabetically) listed

Expected results:
all of them listed, or "load more" option visible that would actually load another page of orgs.

Additional info:

Comment 2 Daniel Lobato Garcia 2017-11-21 11:48:01 UTC
This is a problem in recent versions of Foreman too, thanks Roman. I'll link this to Redmine too.

Comment 3 Daniel Lobato Garcia 2017-11-21 11:48:53 UTC
Created redmine issue http://projects.theforeman.org/issues/21719 from this bug

Comment 4 Walden Raines 2017-11-28 20:13:08 UTC
PR: https://github.com/Katello/katello/pull/7090

Comment 5 Satellite Program 2017-11-29 23:22:28 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21719 has been resolved.

Comment 6 Peter Ondrejka 2017-12-04 14:39:17 UTC
Verified on Sat 6.3 snap 27, all organizations are now listed in the above scenario

Comment 7 Bryan Kearney 2018-02-21 17:11:51 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/RHSA-2018:0336


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