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

Adding miq_date parameter when setting hourly and daily vars #2242

Merged
merged 1 commit into from Oct 4, 2017

Conversation

israel-hdez
Copy link
Member

@israel-hdez israel-hdez commented Sep 26, 2017

Middleware timeline uses miq_date to send the chosen date to the UI backend, thus was being ignored.
Changing update_from_params to read miq_date if received, but giving priority to miq_date_1.

This PR is part of a collection of PRs solving ManageIQ/manageiq#15756.

screenshot from 2017-09-28 12-45-07

Middleware timeline uses miq_date to send the chosen date to the UI backend, thus was being ignored.

Changing update_from_params to read miq_date if received, but giving priority to miq_date_1.
@israel-hdez
Copy link
Member Author

@miq-bot add_label bug, middleware, timelines

@miq-bot
Copy link
Member

miq-bot commented Sep 26, 2017

Checked commit israel-hdez@993d9c5 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@abonas
Copy link
Member

abonas commented Sep 28, 2017

@karelhala @mtho11 please review
@israel-hdez please add a screenshot which field does it refer to in UI (I understand this is a more backend fix and does not touch the UI itself, but to ease review...)

@israel-hdez
Copy link
Member Author

@abonas screenshot added

@israel-hdez
Copy link
Member Author

@mtho11 @martinpovolny ping!?

@karelhala
Copy link
Contributor

@israel-hdez looks good and pretty much straight forward.

@martinpovolny what do you think, is it justifiable for us to use different param since miq_date_1 does not makes any sense to me.

Copy link
Contributor

@mtho11 mtho11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a pretty straightforward change to me.

@martinpovolny martinpovolny merged commit 6a1291f into ManageIQ:master Oct 4, 2017
@martinpovolny martinpovolny added this to the Sprint 71 Ending Oct 16, 2017 milestone Oct 4, 2017
@israel-hdez israel-hdez deleted the iss15756 branch October 20, 2017 14:10
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.

None yet

6 participants