Project

General

Profile

Bug #21719

'Select Organization' dialog only showing first 20 organizations

Added by Daniel Lobato Garcia over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Related to Foreman - Feature #21800: Allow all results to be retrieved from APIs without paginationNew2017-11-28

Associated revisions

Revision d645f310 (diff)
Added by Walden Raines over 4 years ago

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

History

#1 Updated by Daniel Lobato Garcia over 4 years ago

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

Also available in: Atom PDF