-
Notifications
You must be signed in to change notification settings - Fork 898
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
Fixed the virtual columns to be able to use in the API with filter[]
#17553
Fixed the virtual columns to be able to use in the API with filter[]
#17553
Conversation
@agrare Please review. |
Checked commit AparnaKarve@fa60b22 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 app/models/mixins/archived_mixin.rb
|
@miq-bot add_label gaprindashvili/yes |
@agrare Can you review/merge this? We will need this change for gaprindashvili since we cannot directly query the |
hey @AparnaKarve sorry I missed this because it wasn't assigned to me |
@agrare Thank you! |
@miq-bot add_label blocker |
Fixed the virtual columns to be able to use in the API with `filter[]` (cherry picked from commit 58af1d2) https://bugzilla.redhat.com/show_bug.cgi?id=1594023
Gaprindashvili backport details:
|
Primary use case is to be able to use
filter[]=archived=true
in the API, which was not possible before due to the?
in the virtual column name.Also added the
active
attribute/virtual columnBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1593890