Bug #18260
closedChoose different org will result in the same org's host number change in organizations page
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1415025
Description of problem:
In organizations page, when you select a org, the other org's host number is wrong.
Version-Release number of selected component (if applicable):
Satellite6.2.7-sp2
candlepin-0.9.54.15-1.el7.noarch
foreman-1.11.0.65-1.el7sat.noarch
katello-3.0.0-15.el7sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. In satellite webUI, Create a new org named org1.
2. Registered 7 hosts to org1, make sure no host on Default_organization.
3. Go to "Management organization", choose org1, it's correct to show org1's host number is 7, please see screenshot org1.jpeg.
4. Go to "Management organization", choose Default_organization, check the org1's host number.
Actual results:
It will show org1's host number is 0. please see screenshot default_org.jpeg
Expected results:
No matter what org is choosen in organization page, the host's number in the same org shouldn't change. the host's number in org1 should always 7.
Additional info: