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

Do not force exp_key to be limited to "CONTAINS" for date type fields. #3879

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

h-kataria
Copy link
Contributor

When selected field type id date type field, allow a drop down to be displayed with After/Before etc. options to be selected to form an expression.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1563823

before:
before

after:
after

@yrudman cc

@dclarizio please review

When selected field type id date type field, allow a drop down to be displayed with After/Before etc. options to be selected to form an expression.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1563823
@miq-bot
Copy link
Member

miq-bot commented Apr 30, 2018

Checked commit h-kataria@829af29 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 1 offense detected

app/controllers/application_controller/filter/expression.rb

@dclarizio dclarizio merged commit bf71858 into ManageIQ:master Apr 30, 2018
@dclarizio dclarizio added this to the Sprint 85 Ending May 7, 2018 milestone Apr 30, 2018
@h-kataria h-kataria deleted the report_expression_editor_fix branch July 23, 2018 16:07
h-kataria added a commit to h-kataria/manageiq-ui-classic that referenced this pull request Jan 21, 2019
Previous change was still forcing exp_key to be limited to "CONTAINS" for date type fields when switching fields because value of `self[:val1][:type]` is updated after changed code block in `prefill_val_types` method. Fixed a change made in ManageIQ#3879 with a call to backend method to return the type of field based upon selected column

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1563823
h-kataria added a commit to h-kataria/manageiq-ui-classic that referenced this pull request Jan 22, 2019
Previous change was still forcing exp_key to be limited to "CONTAINS" for date type fields when switching fields because value of `self[:val1][:type]` is updated after changed code block in `prefill_val_types` method. Fixed a change made in ManageIQ#3879 with a call to backend method to return the type of field based upon selected column

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1563823
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