Bug #21719
'Select Organization' dialog only showing first 20 organizations
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1509415
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.
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:
Related issues
Associated revisions
History
#1
Updated by Daniel Lobato Garcia over 4 years ago
- Subject changed from 'Select Organization' dialog only showing first 20 organizations to 'Select Organization' dialog only showing first 20 organizations
- File Screenshot from 2017-11-21 12-46-37.png Screenshot from 2017-11-21 12-46-37.png added
Example in the attached screenshot.
#2
Updated by Walden Raines over 4 years ago
- Assignee set to Walden Raines
- Status changed from New to Assigned
#3
Updated by Walden Raines over 4 years ago
- Target version set to 234
#4
Updated by Walden Raines over 4 years ago
- Related to Feature #21800: Allow all results to be retrieved from APIs without pagination added
#5
Updated by The Foreman Bot over 4 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7090 added
#6
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) set to 284
#7
Updated by Walden Raines over 4 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset katello|d645f310e69cda076aed57ff8daec6127ba1d5ae.
Fixes #21719: fix organization selector page.
The organization selector page was only showing the first 20
organizations. This commit ensures that we show all organizations.
http://projects.theforeman.org/issues/21719