-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use report default options for Report screens #4749
Conversation
@miq-bot add_label hammer/yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is your opinion about adding tests? 😉
@@ -1343,6 +1343,7 @@ def get_view_process_search_text(view) | |||
end | |||
|
|||
def perpage_key(dbname) | |||
return :reports if dbname == "miqreportresult" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like this 😥 could you at least convert it into a case?
a77708c
to
a487960
Compare
ping @skateman |
12527e2
to
5ca4233
Compare
Checked commits PanSpagetka/manageiq-ui-classic@fb2ae5a~...5ca4233 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use report default options for Report screens (cherry picked from commit 7edf695) https://bugzilla.redhat.com/show_bug.cgi?id=1616201
Hammer backport details:
|
Reports on Save Report screen, should use default item count per page which is set in My Settings for Reports.
@gtl_type
variable used from deriving the per page count only can begrid
,tile
orlist
Links [Optional]
https://bugzilla.redhat.com/show_bug.cgi?id=1616201
Steps for Testing/QA [Optional]
All Saved Reports
, check the paginator - value remains 20.