Bug 1659080 - Search in content-hosts page won't return entries more than "per_page" value
Summary: Search in content-hosts page won't return entries more than "per_page" value
Keywords:
Status: CLOSED DUPLICATE of bug 1661293
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Stephen Wadeley
URL:
Whiteboard:
: 1659081 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-13 14:15 UTC by Anto P Joseph
Modified: 2022-03-13 16:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-18 15:22:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Anto P Joseph 2018-12-13 14:15:39 UTC
Description of problem:

If we set per_page = 20, the search result will display only 20 results even if there is 20+ results(content-hosts). Not results/next page available. It should be 20 in page1, 16 in page2.

If we set Entries per page=50, it will return "36" hosts.(expected result)


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


How reproducible:


Steps to Reproduce:
1. Satellite should have content-hosts greater than per_page value. (tested with 10 hosts, per_page=5)
2. Hosts > Content-Hosts > Search "search parameter" 
3. 

Actual results:

search results are trimmed to the value of "per_page".

Expected results:
If search results are more than per_page, it should add rest of the result in NEXT PAGE.

Additional info:

Couldn't see issue with repositories page and hosts page.

Comment 3 Marek Hulan 2018-12-17 14:58:59 UTC
Moving to hosts - content as I can't reproduce on regular hosts page

Comment 5 Brad Buckingham 2019-01-18 15:20:19 UTC
*** Bug 1659081 has been marked as a duplicate of this bug. ***

Comment 6 Brad Buckingham 2019-01-18 15:22:18 UTC

*** This bug has been marked as a duplicate of bug 1661293 ***


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