Skip to content
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 class variable gtl_type to check type of report, this way we will receive correct report type #1888

Merged
merged 1 commit into from
Aug 11, 2017

Conversation

karelhala
Copy link
Contributor

@karelhala karelhala commented Aug 11, 2017

Fixes #1885

In previous PR #1867 there was a mistake where we checked GTL type by calling get_view_calculate_gtl_type, however this function will return always list when called later on. However we have class variable which is called gtl_type this variable stores correct type.

@karelhala
Copy link
Contributor Author

@miq-bot add_label bug, GTLs
@himdel ping, this is correct way to check type of report being rendered.

@miq-bot
Copy link
Member

miq-bot commented Aug 11, 2017

@karelhala Cannot apply the following label because they are not recognized: gtls

@miq-bot miq-bot added the bug label Aug 11, 2017
@miq-bot
Copy link
Member

miq-bot commented Aug 11, 2017

Checked commit karelhala@8de822f with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@himdel himdel added the gtls label Aug 11, 2017
@himdel
Copy link
Contributor

himdel commented Aug 11, 2017

👍 both places with quadicons and places without them seem to work now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants