Bug #15941
closedContent dashboard has wrong links to [Invalid|Insufficient|Current] Subscriptions
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1180573
Description of problem:
In katello dashboard, subscription widget provides links to lists of content hosts with [Invalid|Insufficient|Current] Subscriptions. Those links are wrong, as they apply on content host filters "status:red" instead of "status=red". Such filter is ignored on content host and the result shows all content hosts.
Version-Release number of selected component (if applicable):
Sat 6.0.6
How reproducible:
100%
Steps to Reproduce:
1. In WebUI, open Content Dashboard (https://satellite.example.com/katello/dashboard#!=)
2. See "Invalid Subscriptions" is 0 in subscription widget.
3. Click to the "Invalid Subscriptions" link
Actual results:
URL https://satellite.example.com/content_hosts?search=status:red is loaded. I.e. content_hosts with applied filter "status:red".
All content hosts are displayed.
Expected results:
Proper URL is loaded under content_hosts, with applied filter "status=red".
No content host is displayed (assuming "Invalid Subscriptions" was really 0).
Additional info:
Can't be search=status%3Dred used? (%3D is encoding of '=') It works for me well as direct URL.