theforeman/foreman — pull request #1895 by yebeloved (2014-11-01 09:44:16+00:00)
Title: Fixes #8011 - When displaying Reports for a host, eventful=true should b...

Description of problem:
When accessing a hosts report (via Dashboard-> Select hostname), the user is presented with a great deal of reports, many of which have no eventful information. This RFE requests setting 'eventful=true' so that the end user doesn't have to wade through a large number of reports to get to the information they desire.

Version-Release number of selected component (if applicable):
foreman-1.6.0.46-1.el6sat.noarch

Dominic wrote,"Bit of a matter of opinion really, given there's a filter already there. I think when I'm using it, I'm perfectly happy to see non-eventful reports. Maybe a one-click way to add/remove eventful = true to the search would be very useful."

So I add two bookmarks, "eventful = true" and "eventful = false". If the input is "host = test" and "eventful = true" is clicked, the search condition will be set as "host = test and eventful = true". And if the input is "host = test" and "eventful = false" is clicked, the search condition will be set as "host = test and eventful = false".