Bug #37057
open“All Hosts” page → “Installable Updates” column -> “RPM package updates” URL links to Content/packages?status=Upgradable but should link to content_hosts/XX/packages/applicable
Description
On the “All Hosts” page → “Installable Updates” column, i have a host with “RPM package updates”=42 & the icon next to 42 is a link to:
https://foremanhost/new/hosts/clienthostname#/Content/packages?status=Upgradable
This is absolutely no good, it needs to be changed to:
https://foremanhost/content_hosts/31/packages/applicable
Reason:
On All Hosts page the originating field is displaying a count (in my case 42) SUPPOSEDLY of available/applicable update packages.
So if you click on this that's what you want to see, the 42 available update packages, not something completely different.
But, sadly if you click on the "Content/packages?status=Upgradable" link shows it completely different info.
It lists the currently installed packages for which there are updates (in my case, 11), which is a completely different thing to the number of update rpms available (42).
HOWEVER!
On the “Content Hosts” page → “Installable Updates” column, we have the same numbers as on the “All Hosts” page → “Installable Updates” column, eg in my case:
6 Security, 0 BugFix, 0 Enhancements, 42 “rpm Package Updates”
Here though, on the Content Hosts page, the icon next to 42 is a link to:
https://foremanhost/content_hosts/31/packages/applicable
This CORRECTLY displays the 42 available rpm package updates.
So THIS is the link that we SHOULD also have on the “All Hosts” page → “Installable Updates” column -> “RPM package updates”
Please fix the link at: “All Hosts” page → “Installable Updates” column -> “RPM package updates”
And change it from:
blah/packages?status=Upgradable
to:
blah/content_hosts/XX/packages/applicable
Thanks
No data to display