Description of problem:
I'm trying to customize the "Images by Failed OpenSCAP Rule Results" report. I copied it and I'm trying to edit the secondary (display) filter. This report already has a secondary filter, but when I edit the copied report and switch to the Filters tab, CloudForms does not show the current secondary filter. Instead, it shows a "Create Display Filter" button. When I click that button, the animated circle and gray background comes up for a second, disappears and nothing changes in the browser window.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create report based on container images
2. Select some fields for the report
3. ON the filter tab add primary filter
4. Add secondary filter
5. try to edit the secondary filter.
No change happen to the filter
to edit the filter
When you click on edit the secondary filter nothing is happening.
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Harpreet Kataria <firstname.lastname@example.org>
AuthorDate: Tue Apr 10 14:54:49 2018 -0400
Commit: Harpreet Kataria <email@example.com>
CommitDate: Tue Apr 10 14:54:49 2018 -0400
Fixed Secondary filter to be added/edited correctly.
- Fixed alignment of Haml code.
- Passing in a local variable to form_expression_button view to be used as an button action and also to load/display correct primary/secondary filter
app/views/report/_form_expression_buttons.html.haml | 4 +-
app/views/report/_form_filter.html.haml | 34 +-
spec/views/report/_form_expression_buttons.html.haml_spec.rb | 6 +-
3 files changed, 24 insertions(+), 20 deletions(-)
Verified in Version 220.127.116.11.20180712211305_e6e4542