Project

General

Profile

Bug #4468

Host page says "Reports from the last <blank> days" with reports only from the last day

Added by Dominic Cleal about 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Category:
Web Interface
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

(https://bugzilla.redhat.com/show_bug.cgi?id=1070400)

Associated revisions

Revision 8af7d0e1 (diff)
Added by Ondřej Pražák over 7 years ago

Fixes #4468 - Dropdown shows '1' when all reports within last 24 hours

Revision d2c5fc88 (diff)
Added by Ondřej Pražák over 7 years ago

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

Also available in: Atom PDF