Actions
Bug #14276
openavailable repos page under content view page does not paginate results
Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Description
If you have many products with repos and go to 'content_views/<id>/repositories/yum/available', the page will take multiple seconds to load.
It looks like one of the calls is to '/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=3&full_result=true&library=true&organization_id=3&page=1&search=0', which can take 4+ seconds with 140-ish repos enabled on a speedy physical host.
If the same call is made without full_result=true, the call is significantly faster. One idea to fix this would be to paginate the repo add page, but there may be other ways to avoid this API call or make it faster.
Actions