Bug #4468
Host page says "Reports from the last <blank> days" with reports only from the last day
Description
When there are only reports from within the last 24h for a given host, visiting the host show page for it will say at the top:
"Reports from the last <blank dropdown menu> days - 2 reports found"
Even though there are reports from within the last day, the dropdown menu doesn't list "1" as the first and only value.
This is clear on an initial installation of Foreman where you have a single report from the Foreman host itself.
Associated revisions
Fixes #4468 - Dropdown shows '1' when all reports within last 24 hours
(cherry picked from commit 8af7d0e1d5f187e5d277ce369522baa0938d88e8)
History
#1
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2578 added
#2
Updated by Dominic Cleal over 7 years ago
- Assignee set to Ondřej Pražák
- Legacy Backlogs Release (now unused) set to 72
#3
Updated by Ondřej Pražák over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8af7d0e1d5f187e5d277ce369522baa0938d88e8.
Fixes #4468 - Dropdown shows '1' when all reports within last 24 hours